blackbelt60 Posted December 4, 2014 Share Posted December 4, 2014 Hi all, I'm trying to write some lines from an input file to a new one. When there is a certain condition i must change the current page, and write the other lines in the new page. Is there a rule to do something like this? (es. if i'm working on the page "1" i want to create and move to page "2") Thanks Quote Link to comment Share on other sites More sharing options...
dreimer Posted December 4, 2014 Share Posted December 4, 2014 (edited) Not sure I really understand the end goal but have you tried using the SetBodyPageUsage in an OnRecordStart rule? Or are you looking for overflow pages? This will switch pages based on a field in your data to use whichever page your rule tells it to. For example: FusionPro.Composition.SetBodyPageUsage(Field("Version"), true); This rule will switch pages in your template based on what is in your "Version" Field. You need to name your pages to what the value is in the "Version" field and make them unused. Edited December 4, 2014 by dreimer 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.