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 February 28, 2017 - Updated March 15, 2017


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.