Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Multiple Related Object Loads (Link Mappings) (Managed Package)

          Multiple Related Object Loads (Link Mappings) (Managed Package)

          For the managed package runtime, when loading data into a sequence of objects, you can propagate data directly from one object to another related object. For example, you can use an Omnistudio Data Mapper Load to support an Omniscript that creates an Account and a Contact for the Account.

          To link the Account to its Contact, the Data Mapper must perform the following sequence of operations:

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. Create the Account.
          2. Create the Contact.
          3. Link the Account and Contact records by populating the Contact record’s AccountId field with the Id of the Account record.

          To handle this type of relationship, link the objects in the Data Mapper Designer.

          1. On the Objects tab, navigate to the source object (Contact in the preceding example) and click Add Link.
          2. For each field you want to link, configure these settings:
            • Domain Object Field — The source field from this object (AccountId in the preceding example).
          3. Linked Object — Another object in the sequence (Account in the preceding example).
            • Linked Field — The target field in the linked object (Id in the preceding example).
          Example
          Example To create a Case with a new Account and Contact associated, link the objects as shown in the following figure. The Contact is associated with the account by AccountId, and the case is associated with the contact by ContactId.
          Example Account to Contact mapping

          For an example that uses link mapping, see Create a Contact for an Existing Account (Managed Package).

           
          Loading
          Salesforce Help | Article