Jump to content

Search the Community

Showing results for tags 'page'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome
    • Start Here!
    • News
  • Software-Related Talk
    • Documentation
    • Getting Started
    • The JavaScript Library
    • FusionPro® VDP Creator
    • FusionPro® VDP Producer
    • FusionPro® VDP Server (API)
    • FusionPro® Expression®
    • MarcomCentral®
  • Support
    • Issues, Questions, Etc.
    • Digital Workflow Documents
    • Fonts
  • Off Topic
    • Customer Polls
    • Job Board (Moderated)
    • Reviews, Rants, and General Musings

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Location


Occupation


FusionPro VDP software version


OS


Acrobat Version


Homepage


ICQ


AIM


Yahoo


MSN


Skype


User Title

Found 2 results

  1. ================ UPDATE: 1/29/2016 Listing as solved and leaving code for future people if they need help. ================ I am working on creating several rules based on the page number of a document. First rule is a barcode for our inserter. We need to include: customer id current page (2-digit) total pages in record (2-digit) check digit So it should look something like: CN61341010300 I am having difficulty calling the page numbers in the empty rules though. Second rule is making it so that the barcode only displays on odd number pages and the first page is a different setup than all the other pages. Page 1 has a special check digit that signifies start of a document. Page 2-N have a different check digit to signify that it continues to pull. How would I call up page numbers in these situations? Will they work in empty rules or do I need a callback?
  2. I have a multi-page PDF that will use only one of the pages based on the state the user selects. I've set all of the pages to "Unused" under manage pages, and have created a rule for OnRecordStart. This rule works fine and gives me the results I expect. However, it gives me the error "Function Does Not Return a Value" when I save the rule. It also gives me an error when I compose it, but the composed file IS correct. I'm guessing that my script is missing something. Here's what I have in OnRecordStart: if (Field("State") == "Florida") { FusionPro.Composition.SetBodyPageUsage("MC34310_FL", true); } else if (Field("State") == "New Hampshire") { FusionPro.Composition.SetBodyPageUsage("MC34285_NH", true); } else if (Field("State") == "New York") { FusionPro.Composition.SetBodyPageUsage("MC34467_NY", true); } else if (Field("State") == "Texas") { FusionPro.Composition.SetBodyPageUsage("MC34700_TX_1210", true); } else { FusionPro.Composition.SetBodyPageUsage("MC34188", true); }
×
×
  • Create New...