Support Article

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.

Error Messages

Not Applicable

Steps to Reproduce

  1. Include Create PDF shape in a flow.
  2. Reference a section that will span to more than one page.
  3. Verify that content is cut off when page splits.

Root Cause

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.

For example:
<DIV style="page-break-after:always"></DIV>

An enhancement request, FDBK-16116, has been created for consideration by Pega Product Management.

Published September 5, 2016 - Updated September 15, 2016

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.