p.kennedy Posted May 20, 2011 Share Posted May 20, 2011 Hi All, I have a PDF postcard I am trying to make a rule for. I need it to switch back pages based on text field. So what I have done is created a three page document and made the third page "unused" if the data file says Text, then I want it to use the visible second(back) page, if it says Image I want it to use the "unused" third page. Does this make sense? Is it even possible? Link to comment Share on other sites More sharing options...
Dan Korn Posted May 20, 2011 Share Posted May 20, 2011 Hi All, I have a PDF postcard I am trying to make a rule for. I need it to switch back pages based on text field. So what I have done is created a three page document and made the third page "unused" if the data file says Text, then I want it to use the visible second(back) page, if it says Image I want it to use the "unused" third page. Does this make sense? Is it even possible? Yes, this is explained in the FusionPro Rules Guide, int the section titled, "How to switch body pages during composition." Basically, you want to name the pages, and then do something like this in OnRecordStart: FusionPro.Composition.SetBodyPageUsage("BackText", Field("Your Field Name") == "Text"); FusionPro.Composition.SetBodyPageUsage("BackImage", Field("Your Field Name") == "Image"); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.