Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Create PDF Utility does not render RTE in PDF

SA-25908

Summary



Create PDF smart shape in the flow does not render the content of Rich Text Editor (RTE) correctly in the generated PDF document.

Error Messages



Not Applicable

Steps to Reproduce

  1. Create a section with RTE and fill in some text.
  2. Use Create PDF smart shape in the flow with the section name as input.
  3. Generate the PDF document and check the contents of RTE in it.

Root Cause



The generated PDF contains the RTE content in hidden mode.

Resolution



Perform the following local-change:
  1. Include one more assignment, which references the new flow action and section.
  2. Include richTextDisplay control with RTE property in the section created.
  3. Add Create PDF smart shape in the flow.

The PDF will pick all the styles applied to the RTE content and displays the same in the generated PDF document, which is attached to work object.

Include the following in userworkform:

</style>
#rte-default textarea { 
      visibility : visible !important
}
</style>

Or

Use htmlToPdf activity providing the RTE property as a parameter stream.

Published July 28, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us