Generated PDF does not support page breaks
In a flow, when adding a create PDF shape, which references a section with content more than one page, some portions of the page are cut off and appear on the next page.
Steps to Reproduce
- Include Create PDF shape in a flow.
- Reference a section that will span to more than one page.
- Verify that content is cut off when page splits.
PDF generation in Pega utilizes a third-party library PD4ML. PD4ML provides the option enablesmartbreak to address this problem, but it is not compatible with the Pega API.
Perform the following local-change:
Add CSS properties page-break-before: always; or page-break-after: always; to explicitly define where page breaks should take place.
An enhancement request, FDBK-16116, has been created for consideration by Pega Product Management.
Published September 5, 2016 - Updated September 15, 2016