Show Hide New button in Related List based on Condition

kailashthiyagar
Kilo Guru

Is there a way where we can control the new button on the related list based on script condition? Can it be done only  at the "Create" ACL level for the related list table or any other option we have?

1 ACCEPTED SOLUTION

Archana Reddy2
Tera Guru

Hi Kailash,

Writing script in Omit new condition does your work. Please find the below screenshot. It helps.

find_real_file.png

Mark the answer as Correct/Helpful based on its impact.

Thanks,

Archana

View solution in original post

10 REPLIES 10

Then, what is the issue that you are facing now?

Harish Ragz
Kilo Guru

We can Hide a button on related list in 2 ways.

1. Adding Roles in Require Role Section in UI ACTION.

2. Adding a condition in UI ACTION.

Archana Reddy2
Tera Guru

Hi Kailash,

Writing script in Omit new condition does your work. Please find the below screenshot. It helps.

find_real_file.png

Mark the answer as Correct/Helpful based on its impact.

Thanks,

Archana

Yes. The issue is fixed. When i posted this issue in community forum, i dont see the "Omit new condition" and i m unaware of this field itself. Then i found it its in the form design and i added it. The issue is resolved now

Glad. Take a moment to mark the helped answer as correct and close this thread. Thanks