Support Article

PDF table borders do not display



When generating a PDF document using the pyViewAsPDF out-of-the-box activity, blank cells in tables do not have borders.

Error Messages

Not Applicable

Steps to Reproduce

  1. Add a table to a section.
  2. Use the section to generate the PDF using the pyViewAsPDF activity.

Root Cause

A defect in Pegasystems’ code or rules.
The 'Export to PDF' feature using PD4ML has the following issues,
  1. Cannot render dynamic layout formats in the PDF (such as, inline grid and double, triple).
  2. Cannot process few specific styles by PD4ML. For example, Unable to render 'color: inherit' CSS.
  3. PDF conversion takes time due to processing of heavy CSS from the skin.


Apply : HFix-45601.

Alternatively, perform the following local-change:
  1. In the pyViewAsPDF activity in Step 2 in Java step add the below code.

  2. In the tables, in the Presentation tab, use Fill 100% and check Responsiveness.

Published February 23, 2019 - 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.