09-23-2020 03:07 AM
Can you please guide me on how to disable below 2 options from the normal users' profile menu?
Thanks in advance
09-23-2020 06:11 AM
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");
09-23-2020 06:11 AM
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");
09-23-2020 09:21 AM
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,
Explore our Alfresco products with the links below. Use labels to filter content by product module.