Support Article

Report heading disappear when output to PDF



In Pega 7.2.2 , when user runs a Report definition (RD) with "Ignore application skin while exporting to PDF" option unchecked.

The report when exported to PDF does not show report data. When this option is enabled, the report does load the data.

Error Messages

Not Applicable

Steps to Reproduce

1. Create a RD.
2. In "Data-Access" tab, uncheck the option "Ignore application skin while exporting to PDF"
3. Run the report and export to PDF. Observe that the data does not appear.

Root Cause

Whenever one does “export to pdf” for the reports from the designer studio, pzDesignerStudio is being picked and since pzDesignerStudio skin has given with new css features(like font-size: inherit, color: inherit etc), which were not supported by the PD4ML library and causing PDF to render in white color.

Whenever one does "export to pdf” for the reports from the end user portal, pyEndUser is being picked up, hence no issues are observed if end user skin is not using advanced css features.
In order to address the above issues, (BUG-274196), which will be fixed as an enhancement since advanced features are not supported by third party library.

In order to avoid unavoidable parsing errors with PD4ML, whenever we trigger export to PDF through designer studio, “pyReport_ExportToPdfStyles” will be loaded and also skin file automatically removed.

Note: Since the pyReport_ExportToPdfStyles available rule, new styles can be added for new look of the report.


Perform the following local-change steps:

1. Enable 'Ignore application skin' when exporting to PDF, data access tab of the report.

2. If the local-change is not preferable, apply HFix-34445 that will address the issue.

Published May 16, 2017 - Updated July 14, 2017

Have a question? Get answers now.

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