+ Start a Discussion
Pankaj kumar pandeyPankaj kumar pandey 

How the merge pdf files into a single file.

There is a requirement that instead of generating more pdf files for all customer, can we combine all the files into a single PDF files or a zip file using Apex code


Hi ...


Did you figure out the solution for this...even I have a same problem ....how can we do that ???



I am also wondering how this can be done.  Salesforce Content has a feature where you can download multiple pdfs or documents as a single zipped archive.  But there does not appear to be any Apex classes that deal with archiving/compressing of files.  So I am assuming that this type of functionality has not yet been exposed in the Apex API.



beco fuanbeco fuan
Plese refer to this PDF merging (http://www.rasteredge.com/how-to/csharp-imaging/pdf-merge/) guide. Here's code on it can help you with merging PDF file into one.

Hi Pankaj,

Have you resolved this issue, if yes please help me to do.

Thanks & Regards,


Natacha JosephNatacha Joseph
Hi, has anyone solve this problem ?
Thanks !
sophian smithssophian smiths
i have use this Merge PDF Tool This tool is nice completely free and works well for merging pdf files: visit at more:- https://www.osttopstapp.com/merge-pdf.html
rishabh rathor 28rishabh rathor 28

Hi, once try File ZIPO appexchange application. It can help you in merging multiple PDF's or docs into single pdf
here's the link - https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3u00000OMscFEAT