Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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 .
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.
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 ?.
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.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted