Thank you Step and Dan - I think I have this figured out. I am using the following for OnRecordStart:
if ( (Field("Frontgraphic").toLowerCase()) == "auton" )
{
FusionPro.Composition.SetBodyPageUsage("Front Page",true);
FusionPro.Composition.SetBodyPageUsage("Back Page",true);
FusionPro.Composition.SetBodyPageUsage("GC Front",false);
FusionPro.Composition.SetBodyPageUsage("GC Back",false);
} [/color]
else
{
FusionPro.Composition.SetBodyPageUsage("Front Page",false);
FusionPro.Composition.SetBodyPageUsage("Back Page",false);
FusionPro.Composition.SetBodyPageUsage("GC Front",true);
FusionPro.Composition.SetBodyPageUsage("GC Back",true);
}
return ""
Then for the Letter page I am using this:
if ( (Field("Frontgraphic").toLowerCase()) == "auton" )
return Resource("AutoN.pdf");
else
return NullResource();
Then for the Statement Page I am using this:
if ( (Field("Frontgraphic").toLowerCase()) == "auton" )
return NullResource();
else
return Resource((Field("Frontgraphic").toLowerCase()) + ".pdf");
I have similar javascripts for the back page of the Statement and Letter pages. Thank you for your guidance and help with this! Much appreciated!