0

I have 3 objects A, B and C. C is junction object between A and B. A and B contain import id. Now I want to connect both A and B on C using import Id from Data Loader. My requirement is I just want to add the import ids of both A and B object to excel sheet and want to insert record to C object. Is it possible? How can I achieve it? Or I need to go for trigger. Please guide me.

3
  • you can use data loader. Map them with id field and then insert the record. Commented Sep 19, 2015 at 7:03
  • 1
    importId, Is it different from record Id ?
    – sf_user
    Commented Sep 19, 2015 at 12:00
  • Also, did these records come from a different system/org?
    – martin
    Commented Sep 19, 2015 at 12:14

1 Answer 1

-1

It is possible and you don't need any trigger. If C is junction object, it should have lookup for both A and B objects (lets say lookup field ids are accountId and contactID). In excel, make sure to populate each row with accountId and contactId for the C object.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .