Question

10
Replies
161
Views
Solved

PDF generation not formatting as per CSS

Hi,

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***

Related Support Case Number: