function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DuodouDuodou 

Spring 10: how to access the content of a rich text field

The Spring 10 is support rich text...great! but can anyone give me some hints on how to access the field?

 

The application I am working on needs to read out the content and convert it to a PDF..

 

Is the content of the rich text field stored as HTML format? How about the inserted image? How to access them? I can't find any documents so far:-(

 

 

 

Rick_NookIndRick_NookInd

It appears to be stored in html.

 

 

jeremyajohnsonjeremyajohnson
Has anyone been successful using the RichText field on a VF page rendered as PDF?  I've been able to display the RichText contents properly on a VF page when _not_ rendered as PDF.  However, as soon as I add rendered="pdf" to my apex:page tag, the resulting PDF displays the raw HTML instead.  A working example would be greatly appreciated!