You need to sign in to do that
Don't have an account?
Yogesh Shukla 26
Importing data into a junction Object Contact_Hobby
I have a junction object Contact Hobby which has Master detail relationship to Contact and Hobby objects.
I have to import data from csv file which has 2 columns Contact Name, Hobby Name. How can I import this csv using import wizard or data loader.
Do I need to add id columns for the master records first ?
First you need to load Contact records into "Contacts" and Hobby records into "Hobby" object. Then get the salesforce IDs of these records.
The junction object is link between "Contact" and "Hobby". Match your Salesforce IDs correctly.
Now you can import data into ContactHobby object, each record containing Contact ID & Record ID.
Hope it helps!
-Thanks