Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Remove 'View' option from form header menu

charanpreet
Kilo Expert

Remove 'View' option from ;form header menu; for non-admin users throughout the platform.

4 REPLIES 4

Harsh Vardhan
Giga Patron

Hi



if i am not wrong you are talking about this ui context menu. if yes go to application navigator and search for UI Context menu and search "view" and put the condition in that ui action. gs.hasRole('admin')



find_real_file.png


vinothkumar
Tera Guru

Hi Charan,



This can be customized by navigating to System UI > Contextmenu and select View and deactivate it.


Michael Fry1
Kilo Patron

That role - view_changer - is contained within itil role. I would be careful removing it from users or making changes to block it as some applications like Change could be affected. Instead I'd recommend you use a View Rule to set the rule to one view and prevent others from trying to change anyway from it.


Jaspal Singh
Mega Patron
Mega Patron

Hi Charanpreet,



As suggested by Michael.Fry getting a view rule created would be a better option.


View Management - ServiceNow Wiki


Create a view rule