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
Tera 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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

View solution in original post

10 REPLIES 10

Purvi Kotadiya
Giga Expert

Hello @Shruti  , Thanks for the response. Alternate approach works.