Jump to content

How to create new page on record change


Recommended Posts

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")



Link to comment
Share on other sites

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 by dreimer
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.

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...