You need to sign in to do that
Don't have an account?

How to copy parts of image attachments using trigger
I need to automate a process that will always copy specified parts of uploaded attachments that are in PDF format.
Let's say I want to always copy the logo which appears on such PDF and always is on the same place in the PDF. I want to copy it and paste it as another attachment but with a link to different object.
How should I proceed? Is it even possible?
Let's say I want to always copy the logo which appears on such PDF and always is on the same place in the PDF. I want to copy it and paste it as another attachment but with a link to different object.
How should I proceed? Is it even possible?

Hi Jan, I don't think it is possible to copy a specific part of an attachment to send but what you can do possibly is render that part in a separate attachment. It most likely depends on how these attachments are uploaded and what methods Apex provides for parsing attachments.