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

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

  1. Create a report definition with few columns
  2. Group any 2 columns and run the report to see the content of the report
  3. 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:
  1. Save RRBody to the application ruleset
  2. 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>

     
  3. 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
  4. Run the case. The generated PDF headers display in black font

 

Published April 10, 2019 - 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