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

Jay81
Tera Guru

Try below,

Right click on related list and Configure=>List control=>Omit New button

You write script in "Omit New condition"

Where we can write script for "Omit New Condition"? There is a checkbox in the Omit New button but i dont see provision for writing the script

I was able to do it with "Omit new condition" script field. Click on the related list header, configure List Control and then use "Omit new Condition" field. If this field doesnt appear , choose it from the configure Form design and use it.

Add it from form layout.