Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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?

10 REPLIES 10

PurviKotadiya_0-1777462330590.png

 

@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
Kilo 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?