You need to sign in to do that
Don't have an account?
Sumeet Kore 1
How to merge two pdf attachments on account record into one
Hi,
I wish to merge two pdf attachments into a single attachment of any object. Here I am trying to merge two attachments on single account object.
Any help would be appreciated.
I wish to merge two pdf attachments into a single attachment of any object. Here I am trying to merge two attachments on single account object.
Any help would be appreciated.
May I suggest you please check with below link from stack exchange community with a similar issue and suggested workaround.
- https://salesforce.stackexchange.com/questions/150095/merging-pdf-attachments
Hope this helps.Mark this as solved if it's resolved.
Thanks,
Nagendra
Hi Nagendra,
That solution is partial correct. I get method does not exist or incorrect signature
Blob combinedDataAsBlob = EncodingUtil.convertFromHex(combinedDataAsHex);
System.debug('combinedDataAsBlob ::: ' + combinedDataAsBlob );
Blob combinedDataAsBlob1 = blob.toPDF(combinedDataAsBlob); -- on this line