How can we Hide the UI Actions on the custom table

H M Aishwarya1
Tera Guru

Hi,

 

There was a requirement to create a custom table by extending existing change_request table, after creating the table we have some scripts inherited from change. I wanted to Hide 'Request Approval' UI Action as it's not required in the custom table. I want to hide it from grey banner.

 

HMAishwarya1_0-1746010346835.png

 

 

 

Any suggestions would be helpful!

 

Thank You.

 

 

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@H M Aishwarya1 

Steps to override. ensure you are in correct scope as that UI action is in global

1) go to this URL https://instanceName.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=4a296773cb100200d71cb9c0c24c9c3f

2) change the table name to your table name, keep action name as same

3) make active=false

4) Right click Form Header -> Insert and Stay

AnkurBawiskar_0-1746011061648.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

Robert H
Mega Sage

Hello @H M Aishwarya1 

 

Please create a copy of the UI Action, change Table to the custom child table, set Overrides to the original UI Action, and set Condition to "false", as shown in the following example:

 

RobertH_0-1745083369300.png

 

Regards,

Robert

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

@H M Aishwarya1 

Simply override that UI action for your table and make it inactive

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Ankur Bawiskar
Tera Patron
Tera Patron

@H M Aishwarya1 

Steps to override. ensure you are in correct scope as that UI action is in global

1) go to this URL https://instanceName.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=4a296773cb100200d71cb9c0c24c9c3f

2) change the table name to your table name, keep action name as same

3) make active=false

4) Right click Form Header -> Insert and Stay

AnkurBawiskar_0-1746011061648.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi,

 

Followed the steps above to override and disabled the UI action, Still No luck i can see it on the custom table

Hello @H M Aishwarya1 ,

 

Please follow these steps.

 

Regards,

Robert