+ Start a Discussion

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:-(





It appears to be stored in html.



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!