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

Can't migrate change to Master-detail data type - sharing model

I want to change a field from Lookup to Master-Detail data type.  When I make the change in a sandbox, the sharing model for the child object changes to 'Controlled by Parent' automatically.  If I try and deploy the change to another sandbox (eclipse), it fails saying I can't change the sharing model through the API.  Any suggestions?

Hi, You need to do it manually (directly in your org). Regards Manuel