What is the normal way to re-implement a child table's UI action?

amber
Tera Contributor

Hi Experts, 

what is the normal way to overwrite a UI action implementation from parent table? 

Is it just create an new UI action the same with parent, and write the code and then exclude it from parent ? 

 

Thanks & Regards

Amber 

 

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

When you create UI Action on Child table then it will not be visible on Parent table form. If you have same UI Action on Parent then you need to add condition in UI Action to hide it on child table. 

e.g A WIP ui action created on task is visible on all child tables and you want different behavior for incident then add condition like <Existing condition> && current.sys_class_name != 'incident'

And create new UI Action on incident.

 

Thanks,

Anil Lande

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

2 REPLIES 2

Anil Lande
Kilo Patron

Hi,

Can you please explain the scenario with an example?

What is current status and what you want to achieve?

 

Thanks,

Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Anil Lande
Kilo Patron

When you create UI Action on Child table then it will not be visible on Parent table form. If you have same UI Action on Parent then you need to add condition in UI Action to hide it on child table. 

e.g A WIP ui action created on task is visible on all child tables and you want different behavior for incident then add condition like <Existing condition> && current.sys_class_name != 'incident'

And create new UI Action on incident.

 

Thanks,

Anil Lande

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande