You need to sign in to do that
Don't have an account?
Pragya.ax1553
How to generate a pdf file using word doc attached on a custom object as an attachment?
I have a requirement where using word document attached on a custom object.. we have to generate a pdf document?
can anybody help me on this ... how this can be implemeneted in Salesforce?
Thanks!
Pragya
Hi Prgya,
You can generate pdf from page for that you have to set rendereas attribute as pdf,
you have word doc as attachment with custom object, is this as BLOB type?
if it is than you convert blob to string and then take content of string on page and than render content as pdf
this may helps you,
http://www.salesforce.com/us/developer/docs/pages/Content/pages_quick_start_renderas_pdf.htm
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_methods_system_blob.htm
Thanks,
Akshay