You are here:
Define Document Properties
Define the document properties of the generated PDF by using a literal value or a binding pointing to data in the declaration section.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Define the document properties of the generated PDF by using a literal value or a binding pointing to data in the declaration section.
| Available in Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud enabled. |
The table lists the supported properties in DocumentProperties. All properties are optional.
| Property | Description | Data Type |
|---|---|---|
| title | Title of the document | String |
| author | Name of the author | String |
| subject | Subject of the document | String |
| keywords | Keywords associated with the document | String |
| creator | Creator of the document | String |
| producer | Producer of the document | String |
| creationDate | Date the document was created | Numeric |
| modDate | Date the document was last modified | Numeric |
Sample code using a literal value:
<Declarations>
<!-- left out as not relevant for this example -->
</Declarations>
<DocumentProperties>
<Property key="title" value="A documentTitle"/>
</DocumentProperties>
Sample code using a binding pointing to data in the declaration section:
<Declarations>
<DataDeclaration name="header" type="LuPrintPreviewHeader"></DataDeclaration>
</Declarations>
<DocumentProperties>
<Property key="keywords" value="{{Declarations::header.keyword}}"/>
</DocumentProperties>

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 are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security 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 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.