Repeat Grid formatting not shown in PDF
SummaryWhile 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 MessagesNot 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 CauseA 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:
ResolutionPerform 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 February 28, 2017 - Updated March 15, 2017