You can use Workbench or Dataloader to migrate child and parent records in Salesforce. If you're attempting to move data from one organization to another, please follow these steps. 1) Create a single external ID for each item and keep the previous ID (or any other special key) on hand. 2) Next, insert the parent object's contents using an external ID. 3) After that, map the parent record by parent external ID while simultaneously inserting the child object data by external id.
You can check with this video: Create parent child relationship using External Id and Upsert Operation in Salesforce Dataloader (https://youtu.be/88xb62VwQaU)
If the information above was useful, kindly indicate it as the best response.
You can use dataloader to migrate child and parent record in salesforce.
Check below references.
https://lenguyensf.blog/2020/07/03/strategy-for-migrating-child-records-using-data-loader/
https://www.apexhours.com/salesforce-data-loader/
Please mark as Best Answer if above information was helpful.
Thanks,
Hi Vikash,
You can use Workbench or Dataloader to migrate child and parent records in Salesforce.
If you're attempting to move data from one organization to another, please follow these steps.
1) Create a single external ID for each item and keep the previous ID (or any other special key) on hand.
2) Next, insert the parent object's contents using an external ID.
3) After that, map the parent record by parent external ID while simultaneously inserting the child object data by external id.
You can check with this video: Create parent child relationship using External Id and Upsert Operation in Salesforce Dataloader (https://youtu.be/88xb62VwQaU)
If the information above was useful, kindly indicate it as the best response.
Thanks