SouravS3185 Member since 2020 1 post
Bank of America
Posted: January 2, 2020
Last activity: January 30, 2020

PDF generation not formatting as per CSS


Here is the scenario:

  • I have created two CSS text file rules. One of these contains the source code of the bootstrap CSS.
  • An HTML rule refers to these two text file rules.
  • An activity rule that gets invoked from the on-click event of a navigation rule calls the HTMLtoPDF activity and passes the HTML rule's contents as a parameter. It then calls the View activity of Code-Pega-PDF class.

Problem: The generated PDF is not reflecting all of the settings from the bootstrap CSS. Why is this happening?

Note: When we call the Show-HTML method instead of the HTMLtoPDF activity, the output is reflecting all of the settings from the two CSS text file rules.

***Edited by Moderator Marissa to update SR Details***

Data Integration Java and Activities SR Created
Share this page LinkedIn