Generated PDF document from a Report is not aligned properly
SummaryUser reported that the generated PDF document from a Report is not aligned properly with Pega 7.2.
Error MessagesNot Applicable
Steps to Reproduce
- Navigate to Reports tab in the portal.
- Click on a report.
- Once report is generated click on the action tab and select ‘Export to PDF’ option.
- Check the generated PDF.
Root CauseA third-party product issue while generating the PDF. The markup generated from Pega looks fine.
ResolutionHere’s the explanation for the reported behavior:
When user enables ignore application skin for reports in the data access tab then pyReport_ExportToPdfStyles styles are considered, and PDF will be rendered with styles available in pyReport_ExportToPdfStylescss file.
Hence the only option to have this is include word-wrap :break-word; if complete data is required and wrapped or remove it then for some columns data might get truncated.
Published May 23, 2017 - Updated June 30, 2017