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.

Removing save from right click menu

josephd01
Mega Guru

Good Day,

I have tried finding the solution on the forums, but was unable to find an answer. I want to remove the save from the right click menu for a read only role. Please can someone point me in the right direction. Maybe disable the menu all together for my read only role.

 

Thanking you in advance

 

find_real_file.png

1 ACCEPTED SOLUTION

Bhagya Lakshmi
Mega Guru

Hi,

Please go through following attachment.

find_real_file.png

You will create another UI action for your table  with same action name and above code. Give condition as you required.

 

Thanks.

View solution in original post

7 REPLIES 7

Hi

it must not display for the auditor role

you will put condition like this

!gs.hasRole('auditor')

josephd01
Mega Guru

Thank you. added the below condition and is now working.

 

&& !gs.hasRole('auditor') != false