Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Create and Deploy Field Mappings with Object Hierarchy Relationship

Create and Deploy Field Mappings with Object Hierarchy Relationship

Use the Configure Mappings tab to create field mappings between objects, including custom ones, and deploy the mappings in your org.

Required Editions

Available in: Enterprise, Unlimited, and Developer Editions.
User Permissions Needed
To create field mappings between objects: Customize Application

Create a mapping definition record for the source to target mapping at each level in the hierarchy. Define a parent mapping to transform the header of the source object to the header of the target object. For example, Opportunity to Sales Agreement. Define child mappings to transform the child in a source object to a child in the target object. For example, Opportunity Line Item to Sales Agreement Product.

  1. From App Launcher, find and select Configure Mappings.
    The Configure Mappings tab shows a list of your existing mappings.
    Existing object hierarchy mappings
  2. Click New.
  3. Select one of these supported usage types for the mapping.
    • ConvertToSalesAgreement
    • ConvertToSalesAgreement
    The Settings Field Name is automatically generated based on the selected input and output object names. You can modify it if required.
  4. In the Parent Mapping section, select the input and output objects.
  5. Click Add Row to specify a field mapping between the input and output objects.
  6. Repeat the step to specify additional mappings.
  7. Select Child Mappings if you want to create field mappings between the child objects for the specified input and output objects.
  8. Click Add Row to specify a field mapping between the child input and output objects.
  9. Repeat the step to specify additional mappings.
    Object hierarchy mappings UI
  10. Click Download to download the mappings file. You can use the downloaded ZIP file to verify the mappings and fix any issues.
  11. Click Deploy to use the ObjectHierarchyRelationship Metadata API to deploy the mappings into your org.
 
Loading
Salesforce Help | Article