NoahScheitler Posted August 30, 2023 Share Posted August 30, 2023 I have a client that we do an output for with several hundred records. They want all of the output files to be individual PDFs rather than one file with multiple pages. Ive been messing around with the JavaScript to see if i could come up with something. Unfortunately having bad luck, does anyone else have any thoughts or recommendations on this? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 30, 2023 Share Posted August 30, 2023 You don't need any JavaScript for this. You can just go into the Composition Settings dialog, on the Output tab, check the "Output to multiple files" box, and set the number of records per file to 1. If you want to control the name of each output file, based on something like a data field value, then you can create the OnNewOutputFile rule (under the Event tab in the New Rule dialog), and set the FusionPro.Composition.outputFileName property to whatever you want. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.