How to hide the Buttons on the scoped application

Khalid9030
Tera Contributor

 

Hi All,

 

Need help. 

 

In our custom scope of application, we want to hide the Update and Delete buttons for specific table.

How we can do this configuration.

 

Thanks in advance. 

8 REPLIES 8

Sandeep Rajput
Tera Patron
Tera Patron

@Khalid9030 Update and Delete buttons are nothing but UI Actions. You can find these buttons in UI Action sys_ui_action table. 

 

In add the condition in the condition field of your table

current.getTableName() != "<Your table name>" //Replace with your table name

Screenshot 2023-11-08 at 11.33.51 AM.png

 

Hope this helps.

 

@Sandeep Rajput 

 

UI Action sys_ui_action table i can be able to see the update button on different table here which one i need to select it. 

@Khalid9030 Looks like Global UI Actions are being shown in your application, please refer to this support article to hide such UI Actions https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0692665

 

Hope this helps

Shruti
Mega Sage
Mega Sage

Hi,

Create 2 UI actions

1 for Update and other for Delete in scoped application for specific table

Select OOB UI action in overrides field i.e. for Update select OOB UI action Update and for Delete select OOB delete UI action and put condition false

Shruti_0-1699423438287.png