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

Hi,

 

Tried this also, No luck.

 

HMAishwarya1_0-1746204670437.png

 

Hello @H M Aishwarya1 ,

 

I see you deactivated the UI Action. You must keep it active.

 

Regards,

Robert

Prathamesh26
Tera Expert

Hi @H M Aishwarya1 ,

 

The best way to achieve is - override the UI action and disable it for that custom table.

Please find below link for other options

Link - https://www.servicenow.com/community/developer-forum/best-practice-remove-ui-action-from-extended-ta...

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this question to solved bucket. 

 

Regards,

Prathamesh

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

H M Aishwarya1
Tera Guru

Hi,

 

It worked for me, I was able to hide the UI Action by overriding the original UI Action

Thank You for the suggestions!