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
I am new to Salesforce.comI am new to Salesforce.com 

load data for a child object

 

How will you load data for a child object?

 

 

 

Thanks

SFDC_Learner

 

Sagar PareekSagar Pareek

If in a Master-detail relationship, you first need to insert all master records.

Then run a report to get all the Inserted Master record Id's and export them your machine.

 

Now to insert detail object records, you need to associate them with Master Record ID.

A possible approcah would be use VLOOkUP function in Excel to populate the Id's.

 

Once you have the ID's populated then you can insert Detail records using data loader.

 

Don't forget to give Kudos if this post/reply helps you