I don't understand the relationship between Product Description and Quote Line Item. They seem to be the same, yet they're not.

I'm trying to create Rich Text description for a Line Item

In a Quote template, even though I select my custom field as the field to show for description, the PDF view show Product Description, not my Line Item custom field

The preview shows the right view, but even when I save that view, the PDF template does not change.

How do I edit the PDF template to show my custom Rich Text Field as the description?

  • finally managed to make the Rich Text show in the PDF... but it is not rich text, it is converted to regular text. What's the point of that???? – MrE Jan 21 '17 at 3:29

Rich text will not render as Rich Text in a PDF Template. This is a known limitation of the PDF Render Engine. See Visualforce PDF Rendering Considerations and Limitations for more on this.

The PDF rendering service renders the markup and data on your page, but it might not render formatting contained within the contents of rich text area fields added to the page.

A Template uses HTML 4.1 for plain text. Any Rich Text markup will be ignored (or stripped) before being run through the PDF Render Engine. You'd need to convert the Rich Text to HTML in order for it be rendered the same as seen when viewed as Rich Text. I don't know of any string methods that will do this for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.