I have an instance where the user selects 1 to many event numbers to generate a report. I am attempting to set it up where I have one template and it fills it out and combines them all to together to generate a final report that maybe any number of pages. I have a Query node that pulls the data and a Fill PDF node that fills in the data once. How can I get this setup where is basically loops through the 2 nodes, adding a page to the PDF each time?
Discussion posts and replies are publicly visible
PDF Tools, I believe, has a "merge PDF" smart service that can make a single PDF out of an arbitrary number of other PDFs, if that's any help.
That does help, just not sure how to configure the "Fill PDF" and the "Merge PDF" properly.
Hi Allen
1) Please try the smart service -PDF Doc from Template.We use the same for pdf creation (PDF Doc from Template also does the same.)We need to create template using adobe/other pdf template toolsand then do the proper settings.ex: for date value : label is "Date" and then on the valuefield. Please create with #Date#.. import the template and mention the same. Map the values to pdf custom fields
Save the document name in the output tab in the pv: ex:olddocname
2)Next step is use Merge pdf smart service.
below are the settingsinput tab Create New Document (boolean):falseexisting document(Document):pv!olddocnamedocuments(Document):{to document(pv!olddocname),pv!newdocument}
output tab: save the below valueNewDocumentCreated
After you create the documents, pls try to loop part and merge the docs. Please make sure the always pv!contains latest document..
Please let me know if above logic works for you.
Have a good Day!
Thank you, I am one step closer. It is creating separate PDFs for each event, but sadly it is not merging them.
Hi Allen,
Please try by giving/overriding latest value in the pv!olddocname. I mean save the output of the merge document in pv!olddocname(date type :document) and then pass next loop automatically its takes previously created pdf.
Please let me know if this helps.
Thanks,Barat
Can you share the setup you're trying within the Merge PDF portion? I built a proof of conecpt PDF merging tool using it several months ago and it seemed pretty straightforward. Also, when you say "it's not merging them", what is happening instead?