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

Inserts/Updates using DataLoader

I have a question regarding Importing existing extracts of [Leads,Contacts,Accounts].
The issue is with the contraints that are existing (PK's & FK's) in teh Leads table.  The issue being I have AccountId's and ContactId's that need to be created 1st prior to
Importing Leads.
This being said, I attempted to Insert the Account and Contact records first.  My problem is with the PK's:
-How do I set the AccountId hashes (with the existingId's) on the Upsert and NOT have SF generate the unique-Ids using DataLoader?  Or can I only do this thru the API-'convertLead' method.