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

Repeat Grid formatting not shown in PDF

SA-34288

Summary



While creating a PDF of a section containing a Repeating grid using HTMLtoPDF activity, it is not printing the Repeating grid with colorful headers and borders as is shown in the portal.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Report Definition and add it in a Repeating grid in a section.
  2. Create HTML and include:
    <pega:include name = "step 1 created section name" type = "Rule-HTML-Section" />
  3. Create a wrapper activity to call HTMLToPDF with necessary parameters to create PDF of the section.


Root Cause



A third-party product issue.

There is a limitation of the underlying PD4ML APIs which are used to generate PDF document by the HTMLtoPDF activity.

The PD4ML does not support some of the advanced HTML-5, CSS-3 features of PRPC sections.

Refer supported css and HTML in PD4ML:
  • http://pd4ml.com/css.htm
  • http://pd4ml.com/html.htm

Resolution



Perform the following local-change:

Apply some border styling.
If needed to improve the styling and formatting beyond that, write custom HTML to display the grid results with the intended styling.


Published March 15, 2017 - Updated October 8, 2020

Was this useful?

100% 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