The XML template command has the same structure as the XML command used to generate an analysis (refer to the XML Commands chapter in the Sample Scheduler for OpenLab Installation & Configuration Guide), except the addition of a new tag <Template>:
If <Template> true</Template>: the command will be used to populate the Auto-Fills table. No analysis is generated in the Sample Scheduler client, no acquisition is launched.
If <Template> false</Template>, or if the XML command includes no <Template> tag, the command is considered as a command, that leads to the creation of an analysis.
The Sample Scheduler evaluates the XML scheme before its entry into the Auto-fills table. To be considered valid, the XML template must:
Match the XML scheme (XSD) (in the case of XML template command).
Satisfy the business rules (for example, multiplier is assigned the value 1, if not defined differently) as well as the OpenLab Server control (Project, Instrument, User, and Acquisition method exist).
The following rules apply:
Each template must be assigned a value for the Auto-fill trigger parameters.
The Auto-fill trigger set is unique: only one template can be added by Auto-fill trigger set. In the case of an XML template command, if a template with the same Auto-fill trigger set already exists, the command is trashed.
A template cannot be edited from the Auto-fills table. To modify a template, the user must delete the template from the table (Delete button), and then add the new template.