How to Override Global UI Action with different Condition?

gangaprathap
Tera Contributor

I have created a new UI action for Extended table With same name and action name and lower order.
But the condition is different for Extended one. So if the condition satisfies then Global UI action is appearing on the form.

How to resolve it?

5 REPLIES 5

nayanawadhiya1
Kilo Sage

append the condition of Global UI action by adding below one -

current.getRecordClassName() !='table_name'

vinothkumar
Tera Guru

Create a new UI action with the same name in your extended table and it will override the global UI action

vandana7
Kilo Contributor

Hi GangaPrathap,

 

 

On Global UI action you can restrict that from running 

Current.getTableName!="Your table Name",

 

And Create UI action Buttons with conditions

Current.getTableName=="Your table Name", && condition A

Current.getTableName=="Your table Name", && condition B

 

Regards,

Vandana Saluja

Do we have any solution without disturbing the Global one?