Flow to merge a template with a page from a multi page pdf

Post Reply
Sean IO
Newbie
Posts: 18
Joined: Mon Dec 03, 2018 7:58 pm

Flow to merge a template with a page from a multi page pdf

Post by Sean IO »

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?
r.zegwaard
Member
Posts: 93
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

Post by r.zegwaard »

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
jan_suhr
Advanced member
Posts: 591
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: Flow to merge a template with a page from a multi page pdf

Post by jan_suhr »

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.
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Flow to merge a template with a page from a multi page pdf

Post by Terkelsen »

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:
Image
Attachments
Skærmbillede 2018-12-20 kl. 10.56.40.png
Skærmbillede 2018-12-20 kl. 10.56.40.png (41.79 KiB) Viewed 5071 times
Sean IO
Newbie
Posts: 18
Joined: Mon Dec 03, 2018 7:58 pm

Re: Flow to merge a template with a page from a multi page pdf

Post by Sean IO »

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.
Post Reply