how can i hide the delete button for List bottom button in servicenow

Rajan Kumar5
Tera Contributor

Hi Team,
Good Morning !

how can i hide the delete button for Itil user on List bottom button ?

 

RajanKumar5_1-1729855392852.png

 

4 REPLIES 4

Harsh_Deep
Giga Sage
Giga Sage

Hello @Rajan Kumar5 

 

Right Click on the column name -> Configure -> List Control.

 

Here you can do this.

 

If this will not work then Right Click on the column name -> Configure -> Ui Action

and search the delete name and do the needful.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Hi @Harsh_Deep 
I have open that UI action and I have added condition like : current.isValidRecord() && current.canDelete() && gs.hasRole('admin')
It's not working on List Bottom button , still it' showing for ITIL user but when open that table record and the form lable is not showing for ITIL . But still List Bottom is showing for ITIL

Configure -> Ui Action, 

RajanKumar5_0-1729863022026.png

 

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You just need to modify the Delete ACL on the table in question,  and if that returns false, the Button won't show up.

-Anurag

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Rajan Kumar5 

 

It is UI action , and seems it is global , so need to carefully check and hide it via UI action.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************