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

Data gets truncated in export to PDF in Report Definition

SA-21445

Summary



User is exporting the report data (created using report definition) to PDF file format. The PDF file generated contains the truncated data (column values gets truncated).


Error Messages



Not applicable


Steps to Reproduce



1. Create a Report Definition rule consisting of multiple columns
2. Run the report. Click on export to PDF.

    

Observe that certain column values are truncated.

        


Root Cause



When a report is generated, it is rendered in the DisplayReport harness. When the report is exported to PDF, the harness styles are also exported, and therefore, the report is not rendered as it should in a PDF.

Resolution



Apply HFix-24251 and after applying, follow these instructions to resolve the issue - 

1. Check the checkbox Ignore application Skin when exporting to PDF present under DataAccess tab of the Report Definition rule 

    

2. Override OOTB available pyReport_ExportToPdfStyles.css rule, and add word-wrap:break-word; in the td.rowHandleHead element.

    

Published April 1, 2016 - 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