So I’ve managed to split one large PDF file by page count, but now I need to merge back the files that have the same page count. That is, all the 2 -page PDFs into one, 3-page PDFs into one, etc.
Actually, What I’d rather be able to do is to cut out the two steps and split that one large PDF with records that are mixed in 2-pages, 3-pages, 4-pages, 5-pages, etc. into multiple files where all the 2-pages are in one PDF file, all the 3-pages are in one PDF file, etc. I know it’s possible, I just don’t know how to do it. I’ve tried everything.
Please note: My workflow begins with a PDF that is already created. Client sends the PDF with different records + different page counts all mixed in.
I am a little confused at the Metadata Fields Management stage. I added a PageCount field, but I’m not sure how to populate it with the document page count.
You right click and you will have a Get Metadata Location as a choice. You will want to pick the document level and you will see options for you to select. “Pages in Document”
I have not played with it for a while, but I’m pretty sure you will have to change the document array from 0 to ? for it to work the way you need it to.
You will have to step a sample pdf in debug, before you see your choices. (You will be able to see your choices once it passes the create metadata plugin, but it will be only one document at that level.
You could click on view metadata as you step it through to get yourself familiar with what each of the plugins are doing to the metadata.
I was wondering whether there was a way to add sequence number, based on record count and add it to the PDFs once they have been sorted, and separated by page count?
It is zero based, so if you want it to be one, you will need to do that with the math plugin or a script. (Just add 1 and set a new variable with the answer.)