Support Article
Report header grouped by column doesn't display on Export to PDF
SA-71969
Summary
Report headers which are grouped by columns do not display when exporting to PDF.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a report definition with few columns
- Group any 2 columns and run the report to see the content of the report
- Click the Export to PDF. The headers are missing and data of the grouped by columns are missing
Root Cause
The pd4ml library that was used to generate the PDF, does not process 'inherit' for color attribute.
Resolution
Perform the following local-change:- Save RRBody to the application ruleset
- Navigate to the HTML tab and add the below code to ensure all div tags have font color as black:
<style>
div {
color:black!important;
}
</style>
- Save the section and refresh dispalyReportSection. It is important to refresh dispalyReportSection as it picks the changes made in RRBody only when it is refreshed
- Run the case. The generated PDF headers display in black font
Published April 10, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.