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
U ChauhanU Chauhan 

Metadata dependencies issue

Hello everyone please help me if anyone faced this issue.
So I have backup of an org but I don't have access to that org anymore.
There are lots of metadata so how can I get the dependencies with the help of backup and how can I migrate it to new sandbox avoiding dependencies error.

Thanks.
Vishwajeet kumarVishwajeet kumar
Hello,
If metadata records are same in production as were in sandboxes, might be easier to get all data from Production to new sandbox.

OR if data is not same in production as were in sandbox : 

1. One way to avoid dependency error is if you figure out the dependencies and if they are not circular, insert records which are non dependent first after then dependent one, link them.
2. If their are circular dependencies i would recommand to insert each dependent object records without link and capture id for both of them and map it in data file then link them in the end.

Thanks