I am attempting to split a multi-page pdf in order to add a template as a second page to each of the split pdfs. I am trying to inject the template based on the metadata from the multi-page job. I have Inject Job pointing to the repository of templates and the Job Name is being extracted from the metadata correctly (according to the sample value when creating the defined variable). I then have a merge set-up to combine the split pdf and the injected template.
The split works fine, I then ungroup to get individual job folders for each PDF. This job folder flows to the inject job where, I think, it adds/injects the template to the job folder (Incoming job as trigger and name job after incoming job). Then it moves on to the merge. This is where I get an error indicating that job is not a folder.
Is my logic correct here or should I be try this a different way?
Flow to merge a template with a page from a multi page pdf
-
- Member
- Posts: 94
- Joined: Fri Jul 08, 2011 10:31 am
- Location: The Netherlands
Re: Flow to merge a template with a page from a multi page pdf
My logic would be:
- Split PDF
- Ungoup the folder-job to get separate pdf-jobs
- Inject the template-pdf's
- Assemble pdf and template to a new folder-job. Based on the metadata
- Merge the created folder-job to pdf
- Split PDF
- Ungoup the folder-job to get separate pdf-jobs
- Inject the template-pdf's
- Assemble pdf and template to a new folder-job. Based on the metadata
- Merge the created folder-job to pdf
Re: Flow to merge a template with a page from a multi page pdf
Take a look at the app "Duplicate pages PRO", it can do the job for you.
https://www.enfocus.com/en/appstore/pro ... -pages-pro
Set it to do 1 copy and select the template page you want to insert.
https://www.enfocus.com/en/appstore/pro ... -pages-pro
Set it to do 1 copy and select the template page you want to insert.
Re: Flow to merge a template with a page from a multi page pdf
If you ungroup a folder containing the split PDF, you do not get a folder for each PDF. You get individual PDF files.
If you use these individual PDFs to inject the template they only work as triggers, so you end up with the template alone, and the original PDF is gone.
You need to copy the split PDF to a folder. Use another instance of the same PDF to trigger the injection of the template. Put the injected template in the same folder as the copy of the original PDF and then use Assemble Job to assemble each individual PDF and the corresponding template in separate folders before merging them.
A flow might look something like this:
If you use these individual PDFs to inject the template they only work as triggers, so you end up with the template alone, and the original PDF is gone.
You need to copy the split PDF to a folder. Use another instance of the same PDF to trigger the injection of the template. Put the injected template in the same folder as the copy of the original PDF and then use Assemble Job to assemble each individual PDF and the corresponding template in separate folders before merging them.
A flow might look something like this:
- Attachments
-
- Skærmbillede 2018-12-20 kl. 10.56.40.png (41.79 KiB) Viewed 5085 times
Re: Flow to merge a template with a page from a multi page pdf
This is great, thanks everyone. When I read that ungroup created a job for each pdf I though it created a job folder. This explains a lot. Thanks for the clarification.