Importing Records utilizing an External ID located on a Parent Object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago - last edited 2 weeks ago
The instructions below detail how you can utilize the Import module to insert child objects soley using a external ID located on a parent object.
- For this process, weโll be utilizing the Import module and perform an
Upsert operation. - This process will work with either an Org-to-Org operation or utilizing an
import file. - In this example, weโll be inserting Opportunities onto Accounts using an
External ID field on the Account object.
Step 1: We will select the Import Module and upload our file as our source.
Weโll be doing an Upsert operation utilizing the Match Conditions method.
First, weโll select our desired child object (Opportunity), followed by the
parent object (Account) containing the External ID field.
Step 2: Next, weโll map the fields we want to bring in from our source. For the
child object (Opportunity), weโll map all fields from our file that weโll want to
have on the newly created record. For the parent object (Account) holding the
External ID, that ID is the only field weโll need to map.
Step 3: Move onto the Record Selection Criteria step. On the next page, weโll
want to condition the child object to ID (Opportunity ID) = empty/blank. This
will ensure our file doesnโt match a child object already in our system. On the
right side of the page, weโll select all fields on the objects we would like to
preview before executing the job.
Step 4: Next, weโll need to start matching records. When matching the child
object (Opportunity), we can select any single field we would like. This is a
false match step, since we already conditioned to only consider child object
records (Opportunities) that have no Salesforce ID during the Record
Selection Criteria process.
Step 5: When matching to the parent object (Account), weโll want to match
solely to the External ID and instruct DemandTools to create the child object
(Opportunity) upon matching to the parent object (Account) with the
corresponding External ID.
Step 6: For our Final Matching Conditions, weโll want to instruct DemandTools
to Do Nothing.
Step 7: Weโll preview and confirm our results prior to executing the
Import.

