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
- Create a Report Definition and add it in a Repeating grid in a section.
- Create HTML and include:
<pega:include name = "step 1 created section name" type = "Rule-HTML-Section" /> - 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.