Page 1 of 1

Combine PDFs via Code Snippet

Posted: Tue Apr 18, 2023 4:30 pm
by elimalone19
This is a long shot, but is there any way to combine PDFs in the attachments folder of an order via a python code snippet?

Re: Combine PDFs via Code Snippet

Posted: Tue Apr 18, 2023 5:13 pm
by BobRichards
You can read and write order attachments but as far as I know, there is no built-in way to combine the PDF attachments together in Python.

It can be done, though. If you want to find a third-party application with a .NET interface, write the code to pass it the attachments, retrieve the merged document then attach it to the order and clean up - then you are free to do that. Sounds fun! :)