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

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?




Axaykumar VaruAxaykumar Varu

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,