The solution was using the "After document created" event and assigning the registration parameter from the batch to the document. A single line of code does that (Document.Properties.Set "MyRegistrationParameter", Me.Properties.Get("MyRegistrationParameter"). Doing that allows you to access the parameter in the export script by simply using Me.Properties.Get("MyRegistrationParameter"). It should be nice to have access to the batch registration parameters as well as document fields for the export script. Regards,
You can also create a Service Field in a document definition. (Create Field -> Service Field) Select as Data Source for this field Batch Registration Parameter or Document Registration Parameter, then enter the name of the Parameter.
Other usefull information provided by Service Fields are Image Source, Last Editor, Document Count, etc.
Comments
3 comments
Doing that allows you to access the parameter in the export script by simply using Me.Properties.Get("MyRegistrationParameter").
It should be nice to have access to the batch registration parameters as well as document fields for the export script.
Regards,
Select as Data Source for this field Batch Registration Parameter or Document Registration Parameter, then enter the name of the Parameter.
Other usefull information provided by Service Fields are Image Source, Last Editor, Document Count, etc.
Please sign in to leave a comment.