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.

hide delete option under related list except for admin

gtk
Mega Sage

 

how to hide deleted option under the related list 

any help

find_real_file.png

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

You can look for UI Actions of type List choice named Delete. Do an insert & Stay & change the table & add condition like gs.hasRole('admin') to make it available only for admins.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

View solution in original post

2 REPLIES 2

Jaspal Singh
Mega Patron
Mega Patron

Hi,

 

You can look for UI Actions of type List choice named Delete. Do an insert & Stay & change the table & add condition like gs.hasRole('admin') to make it available only for admins.

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

@jaspalsinghchot

can you help with this

new button should be visible to only admins

find_real_file.png