How to Hide some document type from document type as per community.
Hello,
I want to hide some document type in setting -> document type. As per community wise. Is this possible to get this with some event handler or via any package or some custom code. e.g :There is one document type News and there 2 community i want to give this document to community1 which is in Admin and hide from community2 .
But i have query as u suggest me to override the menutree rendering but menu tree is not rendering at document type. So i have tried to use TreeControllerBase.RootNodeRendering event.I get root node display name "document type" and its show haschildren property true. but i don't know how to access the children nodes.
I find the solution. I can get the list of all the document type by using
TreeControllerBase.TreeNodesRendering event and we can remove particular or remove all the node also.
How to Hide some document type from document type as per community.
Hello,
I want to hide some document type in setting -> document type. As per community wise. Is this possible to get this with some event handler or via any package or some custom code.
e.g :There is one document type News and there 2 community i want to give this document to community1 which is in Admin and hide from community2 .
Thank you.
Hi Kajal
You can hide some properties, if you want to hide doctypes - you need to hack into menu tree rendering event and override what user can see.
Thanks,
Alex
Hello Alex,
Thank for reply .
But i have query as u suggest me to override the menutree rendering but menu tree is not rendering at document type. So i have tried to use TreeControllerBase.RootNodeRendering event.I get root node display name "document type" and its show haschildren property true. but i don't know how to access the children nodes.
Can you please suggest what should i do next ?.
Hello All,
I find the solution. I can get the list of all the document type by using TreeControllerBase.TreeNodesRendering event and we can remove particular or remove all the node also.
Thank you.
is working on a reply...