UI Action Visibility

subashds6515
Tera Contributor

Hi,

 

Parent table UI Action should not be displayed in the child table.

How to do that? Can you help me out?

 

Thanks,

Subash

3 REPLIES 3

Aman Kumar S
Kilo Patron

Hi @subashds6515 ,

You can follow below support article:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0686189

Description


How to override UI Actions for an extended table

Examples: 

Task Table (parent) has Close Record UI Action which you don't want to appear on the Incident Table (child)

Procedure


  1. Complete the following steps to override a UI action on the Task table for just the Incident table.
    1. Create a UI action on the Incident table with the same Action name.
          If the Action name is not defined, use the same Name.
    2. Enter a script that is specific to the Incident table.
  2. Complete the following steps to remove a UI action on the Task table for the Incident table.
    1. Navigate to the UI action definition for the Task table.
    2. Add the condition current.getRecordClassName() !='incident'.

OR

you can override the parent table UI action on the child table via setting the "Override" field as shown in the below screenshot,

 

 

 

Best Regards
Aman Kumar

Not applicable

Hi @subashds6515  Go through the below video you can make it easily

 

https://www.youtube.com/watch?v=Yt8-6-f8oe4

 

Thanks & Regards,

Eswar Chappa

Mark my answer correct and Helpful if this helps you 😀

Mayur2109
Kilo Sage

You can refer this knowledge article from ServiceNow
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0686189

 

Mark as helpful if it resolves your issue.

 

Regards,

Mayur