Sample Context Definitions for Context Transformation in Document Generation
Use these example context definitions to understand how hierarchy, grouping, formulas,
and default values structure data before document generation when using Data Processing Engine
(DPE).
Required Editions
Available in: Lightning Experience
Available in: Professional, Enterprise, Unlimited, and
Developer Editions
Create a hierarchy for bundle and standalone products by using parent-child
relationships so that bundle items appear with nested child products and standalone items
appear separately in the document
Maps Quote and Quote Line Item data to represent bundle relationships that use
parent-child references. During document generation, bundle products show with nested child
items, and standalone products appear as separate entries.
Build a multilevel Quote Hierarchy Context Definition Example for Document
Generation
Maps Quote, Quote Line Group, and Quote Line Item data to represent multilevel
hierarchies. During document generation, parent groups, child groups, and nested line items
are structured and rendered in a hierarchical format.
Group Quote Line Items by Selling Model Context Definition Example for Document
Generation
Maps Quote Line Item data, including Selling Model Type, to support grouping
transformations. During document generation, line items are grouped into sections based on
Selling Model Type, such as Evergreen and Term Defined.
Calculate Line Item Price by using Formula Context Definition Example for Document
Generation
Maps Quote Line Item data required for formula-based transformations, such as quantity
and unit price. During document generation, calculated values such as total price are derived
and included in the output.
Apply Default Image Dimensions Context Definition Example for Document
Generation
Maps image source attributes for Quote and Quote Line Item records. During document
generation, default values for image attributes, such as height and width, are applied when
they aren’t provided in the source data.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.