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

Import junction object



I've created a junction object  'Invitation' to support a many-to-many relationship between 'contacts' and 'courses'.

One contact can be invited to many courses.

One course can have many contacts as guests.


But I don't seem to be able to import 'invitations'.

Our organization is sending out many invitations, so creating them manually is not an option.


Can anyone point me in the direction of;

1) how to import junction objects? or

2) is there another solutiond?


Thanking in advance for your help!


You should use the Custom Import Wizard which will you can use to match the Name values for Course and Contact to their corresponding Id - if they're unique. This is much easier than using data loader.



You cannot use Import Custom Objects to import into a custom object with two Master-Detail relationships (by definition, a junction object).