So I have not been able to find a specific solution pertaining to our web server, and have been working with Eric trying to utilize his suggestion. And after a few attempts I am still failing to get the result I'm after.
As I said earlier, I have a 4-page template where the only dynamic content is on page 3. And I would like the ONLINE form to ONLY show that page, when the users are entering and editing their content. But would still like to have all 4 pages passed along and used to Compose the final production PDF for printing.
We don't use MarcomCentral so the option for using the IsOnlinePreview function is out. So here is what I have done so far.
I have gone into "Manage Pages" and set all of the pages except page 3 to "unused". And I have named the pages their corresponding numeric value. So page 1 is named "One", page 2 is named "Two" and so on.
Then I added a field to my data file called "Output" and I set it's value to "print".
Then I created a Callback rule using "OnRecordStart" with this code:
if (Field("Output") == "print"){
FusionPro.Composition.SetBodyPageUsage("One", true);
FusionPro.Composition.SetBodyPageUsage("Two", true);
FusionPro.Composition.SetBodyPageUsage("Four", true);}
However, when I upload the template to the server, it still shows all 4 pages in the online preview. So it is like the rule is being applied online as well as during composition. If I remove the rule, or change the value of the field "Output" to something other than "print", I only see page 3 and the composed output file is only page 3.
Any suggestions?