Hide 'global ui action- delete' in custom application

Purvi Kotadiya
Giga Expert

I have scoped table and on the default form view there is global 'Delete' button. I would like to hide that button for all the users. 

 

I have tried to use 'UI action visibilty' tab but it's not working for default view. How to hide that? 

 

Can someone help me out here?

1 ACCEPTED SOLUTION

Tanushree Maiti
Mega Patron

Hi @Purvi Kotadiya 

 

I will suggest you to update/append the condition of  Delete UI action so that it will be hidden.

 

e.g  current.geTableName() != '<your_table_name>'

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

10 REPLIES 10

@Purvi Kotadiya 

is that user able to see Delete in native or workspace?

Are you sure no other Delete ACL is giving access?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

In native and yes there is no other delete ACL for that table.

Tanushree Maiti
Mega Patron

Hi @Purvi Kotadiya 

 

I will suggest you to update/append the condition of  Delete UI action so that it will be hidden.

 

e.g  current.geTableName() != '<your_table_name>'

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hello @Tanushree Maiti , Thank you, I have added condition and it works but is it a best practice to modify Global button for scoped application?