Reviewing and Managing Metadata Mappings - m3ter Documentation

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

When you install the m3ter Connector managed package into your Salesforce org, a set of Custom Metadata Types are included. Custom Metadata Types:

In your Salesforce org, you can review the Custom Metadata Types installed for the m3ter Connector. You might also want to edit these metadata types to ensure the sync actions you perform maps Salesforce objects and fields into m3ter objects and fields in a way that meets your specific business process requirements.This topic explains how to review and manage the m3ter Connector standard Custom Metadata Types in your Salesforce org. A notes and tips section is also included, which we hope will help you when working with Custom Metadata Types:

Important!

Tip: Sample Mappings? You can review sample mappings for use with the Connector in the m3ter Connector - Sample Mappings section.

Reviewing and Editing Custom Metadata Types

This section explains how to review and edit the Custom Metadata Types installed in your Salesforce org for the m3ter Connector.

Note: The following section offers some notes and tips designed to help you when working with Custom Metadata Types.

To review and edit Custom Metadata Types:

  1. At top-right, select the gear icon and on the drop-down menu, select Setup. The SETUP>Home pages opens.
  2. In the Quick Find field at top-left, start to type “metadata” - the SETUP navigation list is filtered and you’ll see Custom Code>Custom Metadata Types returned.
  3. Select Custom Metadata Types in the SETUP list. The Custom Metadata Types page opens:
  1. To review the mappings defined by one of the Custom Metadata Types, select the Manage Records link for the type:
  1. Select the Label link of the specific mappings definition you want to review. The Detail page opens:

Note: Using hardcoded for Mappings?

  1. If you want to edit the mappings definition, select Edit. The page adjusts:

Warning! If you want to change the object source - in this example the AccountObject - please create a new custom metadata mapping.

  1. If you have made any changes, select Save.

Working with Custom Metadata Types - Notes and Tips

This section offers guidance on working with Custom Metadata Types to set up the precise sync of Salesforce objects and fields with m3ter objects and fields.

Typographical Note

Please note that Salesforce typographical conventions require the use of double-underscore characters:

Setting Up Relationship Mappings

Here are some pointers to note when creating relationships to mapped objects and fields.

The following examples illustrate how relationship mappings are set up.

Example 1

When mapping the accountMapping_m3Id:

Example 2

When mapping the accountPlan from Salesforce CPQ using the Quotes objects:

Note: The SBQQ__Quote__c part is optional here.  Omitting it won’t break the relationship, however it may be easier to understand the relationship when left as SBQQ__Quote__c.SBQQ__Account__r

Understanding Salesforce Suffixes

How are suffixes on custom objects and fields used in Salesforce?  That is, those objects and fields suffixed with  __c or __r in Salesforce:

Examples

The standard object Opportunity has a standard lookup to the Account and Contract objects. Fields on these objects can be referenced by:

Let’s say we add a second Account lookup to Opportunity. This second lookup field has the API name CustomAccount__c

Let’s say we’re querying from the Salesforce CPQ Quote object: