Data gets truncated in export to PDF in Report Definition
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).
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.
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.
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.