Event Action Select XML Template

Note: You can access this form only by clicking the XML Template button on the Event Action Extract XML Collection form.

Use this form to select and load the template to use with the XML string on an Extract XML Collection event action.

You can select a template that is based on one of these:

  • A BOD template already registered in the system using the Maintain BOD Templates form
  • An XML file containing the template

You cannot create or edit templates with this form, only view them.

To see more or less of the template, use the Expand All and Collapse All buttons and the plus signs in the Tree View.

At the bottom of the form are two buttons:

  • Save Template or File Name: Clicking this button causes the Event Action Extract XML Collection form to create a TEMPLATENAME() or TEMPLATEFILE() keyword in the parameters for the Extract XML Collection action.
    • If the XML template was loaded from a template already registered in the system, a TEMPLATENAME() keyword is created with the name of the template as the argument.
    • If the XML template was loaded from a file, a TEMPLATEFILE() keyword is created, with the path and file name of the template file as the argument.

    Both of these keywords, in effect, keep the use of the XML template "connected" with the event action. This means that the template can be changed later and the changes are automatically reflected in future executions of the event action.

  • Save XML: Clicking this button causes the Event Action Extract XML Collection form to create a TEMPLATE() keyword in the parameters for the Extract XML Collection action.

    This TEMPLATE() takes as its argument the entire XML string of the template. This, in effect, "disconnects" the XML from its source, which allows you to modify it for this action without affecting the original XML template.

    Caution: 
    Even if the XML has been loaded from a template or a file, subsequent changes to that template or file are not reflected in the template used during action execution.