Loading
Ongoing maintenance for Salesforce HelpRead 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
          Create Custom Context Definition and Map Attribute to Field

          Create Custom Context Definition and Map Attribute to Field

          Extend a standard definition that you want to inherit all the standard components such as nodes, attributes, and mappings. Then customize the extended definition based on your requirements by adding components to it.

          Required Editions

          Available in: Enterprise, Unlimited, and Developer Editions
          User Permissions Needed
          To extend a standard definition:

          DRO Admin User

          Prerequisite: Enable Permission for Context Service Users.

          To make sure that your nodes and attributes are updated with the right input data, create a mapping structure for your context definition. After you create your context definition, search for objects, and click the node and attribute icons that you want to connect to the object fields to start mapping.

          1. From Setup, in the Quick Find box, enter Context Definitions and select it.
          2. For the SalesTransactionsContext record, click Down Arrow, and select Extend.
          3. Enter a name for the context definition, and click Next.
          4. Under the Sales Transaction node, add an attribute by entering a name, type, and data type. For example, with a Cross Plan dependency scope, enter OrchestrationGroupKey, INPUT OUTPUT , and String respectively.
          5. Click Next, and save your changes.
          6. On the Custom Definition tab, open the newly created context definition to view its details.
          7. On the Map tab, for the mapping record that you want to associate with a field, click Down arrow, and then select Edit.
          8. To set this mapping as your default mapping, select Mark as default, and then click Map.
            The page shows the mapping attributes on the left, and the entity fields on the right.
          9. Click a mapping attribute, and then click the field that you want to map the attribute to.
            A line is drawn between the two items to show the mapping.
          10. Save the mapping changes. On the mapping details page, click Activate.
           
          Loading
          Salesforce Help | Article