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?

2 REPLIES 2

Shruti
Giga Sage

Hi

Check the delete ACL on the scoped table. Modify the roles/conditions such that users do not have delete rights. Servicenow automatically hides the delete button

 

Check this artlce for alternate approach - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692665

Ankur Bawiskar
Tera Patron

@Purvi Kotadiya 

I will recommend not to do anything with the Delete button

why not restrict the Delete ACL on your table?

If Table.None DELETE ACL -> Fails -> They don't see the button

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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