Jump to content

Outputting multi-page documents as individual pdfs


Recommended Posts

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?

Link to comment
Share on other sites

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.

  • Thanks 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...