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: When you click this button, the Event Action Extract XML Collection form creates a TEMPLATENAME() or TEMPLATEFILE() keyword in the parameters for the Extract XML Collection action.
    • If you loaded the XML template from a template already registered in the system, the application creates a TEMPLATENAME() keyword with the name of the template as the argument.
    • If you loaded the XML template from a file, the application creates a TEMPLATEFILE() keyword 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 automatically reflect in future executions of the event action.

  • Save XML: When you click this button, the Event Action Extract XML Collection form creates 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.