We are running into an issue trying to write keywords to our composed PDFs.
Our template has multiple pages.
Each page is unused and named based on the code#.
Pages are turned on based on the code# in the record.
We have a switch statement in our OnRecordStart that determines which code gets a certain keyword.
See example OnRecordStart below.
FusionPro.Composition.SetBodyPageUsage("Code", true)
switch (Field("Code")){
case "******": FusionPro.Composition.OutputFile.keywords = "UncommonBleed|";
case "******": FusionPro.Composition.OutputFile.keywords = "CommonBleed|";
}
The problem we are having is that when we compose a code# that is NOT the first page in the template our keywords do not carryover on output.
It seems like the first page in the template must be composed in order to have keywords honored.
Is this true?
If so, is there a known workaround?