Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Last row of exported PDF is cropped



When exporting a report from report viewer (in the report section), the last row of the exported PDF is truncated. However, this does not occur when there are more than 50 rows.

Error Messages

Not Applicable

Steps to Reproduce

Export a report from the report viewer.

Root Cause

When there are less than 50 records, the last row of the PDF is truncated and the first page is blank. The change for the last rows being truncated is already present in pyExporttoPDF, however, it is not fetched at runtime.


Perform the following local-change:

Add the body {margin-bottom:100px;margin-right:300px;} change in pyReport_ExportToPdfStyles.


Published September 18, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us