function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vinod TomarVinod Tomar 

Restrict Account Update and Creation of records of related List.

I have one requirement where if on Account one checkbox is checked then nothing should be changed on Account. Also no record should be added to its all related list like Contact ,Opportunity, Activity etc. Do we have any standard functionality to achieve this requirement.

Appreciate your help.


Think you should go for  triggers , as since you want to restrict the child creations and all . you need to restrict the action on each of the object's trigger. I dont thing we can achieve this even with validation rules.




Nazeer AhamedNazeer Ahamed

Use Workflow Field update.


Upon checking the field, update the record type to "Read only" (you need to create this record type.

Associate this record type to "Read only page layout" - In this layout remove all button like edit and new buttons.


It may help some extend. quick and easy is just one possible tweak - that's all.