I want to hide UI Action related link on form

MayurChaudhari
Tera Contributor

I want to hide 'Create Task Action' link from the 'u_deal_desk_tasks' custom form, but i am not able to do that,

I have added following conditions in UI Action Condition - 

current.getTableName() != 'deal_desk_task' ,

!(current.getTableName() == 'u_deal_desk_tasks'), 

 g_form.getTableName() != 'u_deal_desk_tasks', 

 

Use all of the above conditions but not work.

 

Need to hide this -

MayurChaudhari_0-1761637396039.png

 

Current UI Action-

MayurChaudhari_1-1761637476962.png

Please help me with the solution.

 

Thank You!

 

1 ACCEPTED SOLUTION

Sarthak Kashyap
Mega Sage

Hi @MayurChaudhari ,

 

I tried your problem in my PDI and it is working fine for me please try with below condition

 

current.getRecordClassName()!='u_deal_desk_tasks'; (Your table name).

SarthakKashyap_0-1761648410584.png

 

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

View solution in original post

5 REPLIES 5

ArpithaMenden
Tera Contributor

Hello @MayurChaudhari 

 

Instead of adding the conditions, simply you can override the UI action and make it as Active = false and save it.