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
Atul Shendge 2Atul Shendge 2 

General query

We need to restrict the no of child=2 on a master object. How will do this only using configuration?
VinayVinay (Salesforce Developers) 
Hi Atul,

There is currently 2 Master Detail Relationship allowed per object.

https://help.salesforce.com/articleView?id=relationships_considerations.htm&type=5

You might not restrict only to 2 objects on masterdetail.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar