Can you please guide me on how to disable below 2 options from the normal users' profile menu?
Thanks in advance
Solved! Go to Solution.
Hi,
You can override share-header.get.js by using extension point and remove both menu from array like below.
widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_USER_MENU_SET_DASHBOARD_AS_HOME");
widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_USER_MENU_HOME_PAGE_GROUP");
Hi,
You can override share-header.get.js by using extension point and remove both menu from array like below.
widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_USER_MENU_SET_DASHBOARD_AS_HOME");
widgetUtils.deleteObjectFromArray(model.jsonModel, "id", "HEADER_USER_MENU_HOME_PAGE_GROUP");
Hi Sanjay,
That's great, I did that for main menu items(such as tasks, shared files, etc) but did not know it could be done for these menu items also.
Thanks a lot. Will try this out and update here
best regards,
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.