Jump to content

Can I have two OnRecordStart Rules??


dreimer

Recommended Posts

I want to have two OnRecordStart Rules but can't seem to figure out how to do it. I have a five page template and would have one rule calling out the page needed based on the data and I also wanted to have the dieline show only when the filename has the word die in it. Here are my two seperate rules.

 

FindGraphicFrame("DieLine").suppress =
   FusionPro.Composition.outputFileName.indexOf("die") < 0;

 

FusionPro.Composition.SetBodyPageUsage(Field("Version"), true); 

 

Is this possible? I tried to have the dieline rule as an OnJobStart but that didn't work. TIA.

Link to comment
Share on other sites

Hmmm, I tried that and I can't get it to work. The Signoff_die.pdf works and I get the dieline on every page. The Signoff.pdf doesn't have the dieline on the "Used" Body Page, but the "Unused" Body pages that are being pulled in from the SetBodyPage part of the OnRecordStart rule have the Dieline.
Link to comment
Share on other sites

Hmmm, I tried that and I can't get it to work. The Signoff_die.pdf works and I get the dieline on every page. The Signoff.pdf doesn't have the dieline on the "Used" Body Page, but the "Unused" Body pages that are being pulled in from the SetBodyPage part of the OnRecordStart rule have the Dieline.

Then something else is going wrong that I can't determine just from the rule. You could post the job and someone might be able to look at it.

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