jnewtonchameleon-cs.com Posted July 22, 2014 Share Posted July 22, 2014 I am looking to output multiple pdf files and name them using a field in my data. Please help with the code. Thank you Quote Link to comment Share on other sites More sharing options...
fourdeuces67 Posted July 22, 2014 Share Posted July 22, 2014 This has been answered in other places on the forum. The code I use looks like this: if (FieldChanged("Field")) FusionPro.Composition.OpenNewOutputFile(Field("Field") + "." + FusionPro.Composition.outputFormatExtension);Just place this in the OnRecordStart Rule when creating a new rule. However, this only works on FusionPro 9. To my knowledge, older versions cannot create arbitrary chunks. What version are you using? Quote Link to comment Share on other sites More sharing options...
David Miller Posted July 22, 2014 Share Posted July 22, 2014 You can try this in the OnNewOutputFile Callback Rule: FusionPro.Composition.outputFileName = Field("[color="DarkRed"]YourFieldName[/color]") + '[color="DarkRed"].pdf[/color]'; Edit the field name and extension (in red) accordingly. 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.