I have one pdf file as an attachment of record. I want to create a single pdf file that contains some data from the record as the first page and the attached pdf file as the next page. How I can achieve this in apex?

  • 5
    Unless you can get the underlying HTML for each and then merge into a single PDF I think you're out of luck, unless there's a 3rd party service you can use to merge PDFs. Jan 17 '20 at 14:08

This is not possible in apex. You may look for third party API like this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.