The following expression works as expected when I compose without using the Scheduler.
if (FieldChanged("MyField"))
{
FusionPro.Composition.OpenNewOutputFile(Field("MyField")+"."+FusionPro.Composition.outputFormatExtension);
}
The result is 1 pdf for every variation in the MyField column of my data. In this case, there are 10. I get 1.pdf, 2.pdf, and so on.
However, when I select the "Use FusionPro Producer on Scheduler" option in Composition settings, only the last pdf is generated, 10.pdf.
I am wondering if I need to modify the code, or if I am overlooking an option in composition settings to make this work properly when composing on the server.
I am using FusionPro VDP Producer 9.2.3 on a Windows 7 PC.