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
Ivan@LMIvan@LM 

Data loader to update relationships.

Hi, Experts - I got account and contact records into a sandbox and saved old ID values as in external / legacy fields for both objects. Question: using data loader how can I go about re-establish relations between account and contact utilizing external / legacy fields ? I did not want to work with csv files - thought data loader or any other API way I could do this ....help is appreciated, thank you.
dotnet developedotnet develope

Hi,

 

Updating the records using external/legacy ids With Dataloader, you have to go for Upsert instead of update.

 

 

Rahul1450Rahul1450

IF we have a Junction object in the legacy system which is usually set of two foreign keys and they both together make up the primary key, how would I set up the external id in the salesforce and successfully use upsert functionality?

 

Thanks,

Rahul