+ Start a Discussion
lil_rangerlil_ranger 

Image display

I have a VF page that renders as a pdf with images, tables, etc.  in rich text fields and they all display correctly in the pdf.

 

What I have to do now is render that same VF page as a Word document.  Problem is that even though the images show up on the SFDC page correctly they do not display in the Word document.  It displays a

 

How can I get whatever is in the rich text field when rendering as a word document?  Is this even possible?

 

Thanks!

@anilbathula@@anilbathula@

Hi lil_ranger,

 

 

If u want to reneder the Vf page as word document .

Do these changes in the Vf page. 

Remove render as "PDF".

Add contentType="application/msword".

 you just have to put the file in the documents folder,

and call it in vf along with the doc id and org id.

 

Thanks

Anil.B