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
KL Phanindra KumarKL Phanindra Kumar 

How to Merge PDF in salesforce

Hi, please post me if any one have knowledge on how to merge multiple PDF to one PDF in salesforce. I have gone through the below article but we need J2EE application, i want to setup this with complete Apex with API
SwethaSwetha (Salesforce Developers) 
HI Phanindra,
The article link is missing in your question. 

I have come across this similar post of merging PDFs https://salesforce.stackexchange.com/questions/150095/merging-pdf-attachments which will most liekly end up with parsing issues. It looks like without use of an external library , it might get complex.

Also see https://salesforce.stackexchange.com/questions/275142/combine-two-different-pdfs-in-single-visualforce-page

https://salesforce.stackexchange.com/questions/296048/how-to-merge-concatenate-two-pdf-files-in-salesforce

https://salesforce.stackexchange.com/questions/194142/merging-multiple-attachments-of-a-record-into-a-single-pdf

If this information helps, please mark the answer as best. Thank you
Nishchal Vashisht 1Nishchal Vashisht 1

Hii Phanindra, 
I also get the same requirement in Lightning component for which I have used some external libraries bu in my scenarioo I was downloading it to the client system you can send it back to your Apex controller. I made a blog for that and I am attaching link for the same.

http://www.saleforceguy.com/wp/2022/07/27/how-to-merge-pdf-in-salesforce/