Loading
 Experience Cloud – Feature Degradation on Lightning Web Runtime SitesRead More
The Trailblazer Community is now read-only Read More
Configure Context Service for Deep Clone

Configure Context Service for Deep Clone

Deep Clone uses Context Service to retrieve and map data between Sales Agreements and its child entities during the cloning process. It includes an Out-Of-The-Box (OOTB) context definition and mapping.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, and Developer Editions

To support custom fields and additional related entities, Salesforce admins must extend the context definition and configure the necessary mappings.

  • Extend Context Definition: In Context Service, extend the existing Out-Of-The-Box (OOTB) context definition by adding new nodes or fields to support custom fields or related entities. Then, map the newly added fields and nodes between the source and target Sales Agreements to ensure the deep clone accurately copies the required data. See Extend Context Definition.
  • Add Custom Fields: Use Object Manager in Salesforce to add any custom fields to the Sales Agreement object or its related child objects (e.g., Product, Schedule, Attribute), depending on your requirements. Before adding custom objects ensure to extend context definition and create mapping for those nodes.
  • Extend Context Definition
    Extend the Out-Of-The-Box (OOTB) context to create a custom context definition with additional attributes, without modifying existing ones. Similarly, you can extend the mapping to include additional mappings, without changing the existing ones.
  • Create Procedure Plan
    Use the procedure plan definition to determine the correct context definition and mapping required for the deep clone.
 
Loading
Salesforce Help | Article