Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
View the Standard ContractsExtractionContext Mapping

View the Standard ContractsExtractionContext Mapping

After you turn on the Context Service for Salesforce Contracts setting, the default ContractsExtractionContext mapping is available. Use the predefined definition to extract contract details from a file. The definition includes a default DocExtrctPersistenceMapping that persists data by pushing the extracted document data from the document into the contract fields.

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
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.
  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 ContractsExtractionContext.
  4. To view the ContractCache node and associated attributes, go to the Structure tab. By default, seven fields are mapped.
    The seven predefined fields are FirstParty, ThirdParty, ContractStartDate, ContractEndDate, ContractTerm, ContractName, and ThirdPartyAddress.
  5. To view the default DocExtrctPersistenceMapping, go to the Map Data tab.
    To create contract records, view the default persistence mapping.
  6. To view the cache and node details, click the down arrow next to the persistence mapping source and select View Input Mapping.
    You can see the logical mapping of fields from the document to the corresponding fields in the ContractCache node.
    View the node name and input mapping for ContractCache.
  7. To view the mapping details of fields from the Contract object to the corresponding fields in the ContractCache, click the down arrow next to DocExtrctPersistenceMapping and select View sObject Mapping.
    View the mapping between the contract and the ContractCache.
 
Loading
Salesforce Help | Article