You are here:
Page Break Behavior with Conditional and Repeating Tokens in Omnistudio Document Generation
Guidelines to prevent blank pages and layout issues when adding page breaks to document templates that include conditional or repeating tokens.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Guidelines to prevent blank pages and layout issues when adding page breaks to document templates that include conditional or repeating tokens.
| Available in: Lightning Experience |
| Available in: Professional, Enterprise, Unlimited, and Developer Editions |
Page break behavior depends on where the break appears relative to token boundaries.
Blank pages can occur when multiple conditional tokens appear consecutively with empty lines or spaces between them. The document generation engine can interpret the empty space as content, which results in an unintended blank page.
Token format that can result in a blank page:
Recommended token format without spacing:
{{IF_token1}}
{{/IF_token1}} {{IF_token2}}
{{/IF_token2}}

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.