Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
View the Standard ContractsContextDefinition Mapping

View the Standard ContractsContextDefinition Mapping

After you turn on the Context Service for Salesforce Contracts setting, the default ContractsContextDefinition mapping is available. Use the predefined definition to create and update contracts. The definition includes six mappings: three hydration and three persistence mappings for the Opportunity, Order, and Quote standard objects.

Important
Important You can’t edit or delete a standard context definition that’s shipped with Salesforce Contracts. You can extend or clone it and make your modifications.
REQUIRED EDITIONS
Available in: Lightning Experience
Available in: Enterprise, Unlimited, Professional, and Developer Editions
USER PERMISSIONS NEEDED 
To view context definitions:

Context Service Run Time User

  1. From Setup, in the Quick Find box, enter Context Service, and then select Context Definitions.
  2. To view the predefined context definitions, go to the Standard Definitions tab.
  3. Click ContractsContextDefinition.
  4. To view the nodes and associated attributes, go to the Structure tab.
  5. To view the mappings, go to the Map Data tab.
    The map data has six mappings, one each for hydration and persistence for the Opportunity, Order, and Quote standard Salesforce objects.
  6. To view the mapping details, click the down arrow next to the mapping source name, and select View sObject Mapping.
    For example, OppToCntrHydrationMapping shows the mapping of fields from the Opportunity object to the corresponding fields in the cache.
  7. To view the mapping details, click the down arrow next to the mapping source, and select View Input Mapping.
    The ContractCache is the parent node, and SalesContractLineCache is the child node.
 
Loading
Salesforce Help | Article