Can you please guide me on how to disable below 2 options from the normal users' profile menu?
Thanks in advance
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,