Hide UI Action from the list view but not the related list

ahmed21
Kilo Expert

Hello Everyone, 

I need your help with a specific requirement which is:

 

We have an UI action (New) that appears in two places for the (sc_task) table,

 

First from the request item related list.

find_real_file.png

Which is fine. 

Second in the list view of the (sc_task)

 

find_real_file.png

Which not wanted to appear. 

 

How can I hide the UI action (New) from the List view of sc_task but not from the related list of the request item form?

 

Thank you, 

 

 

1 ACCEPTED SOLUTION

dvp
Mega Sage
Mega Sage

Navigate to sc_task.LIST

Configure List control

and Make Omit new button to TRUE

This will remove the new button from sc_task table but will keep the button in related list

View solution in original post

9 REPLIES 9

VigneshMC
Mega Sage

Add this to list control for Omit new condition

answer = !RP.isRelatedList();

 

find_real_file.png

I have added the condition but still can see the New button from the sc_task list view and from the related list of the request item form.

find_real_file.png

Uncheck omit new button field and try..Works for me in PDI.

Thank you very much