+ Start a Discussion
D J RobertsD J Roberts 

Working with APEX in a ScratchOrg that uses fields shared by a managed package

Hey guys, working on a project to deploy a large amount of Code to a scratch org for a project, but the code uses some fields that are also used by a managed package. When pushing the project to a scratchOrg, I'm getting some nasty errors, and the deployment is failing. Has anyone else dealt with this kind of issue? If so, what did you do to get the code into a scratch org and work on the modifications? 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Roberts,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.



I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas