- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 09:42 AM
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?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2018 01:17 AM
Hi Kailash,
Writing script in Omit new condition does your work. Please find the below screenshot. It helps.
Mark the answer as Correct/Helpful based on its impact.
Thanks,
Archana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 09:54 AM
Try below,
Right click on related list and Configure=>List control=>Omit New button
You write script in "Omit New condition"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 10:01 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018 07:42 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2018 04:40 AM
Add it from form layout.