Converter Templates

Creating Converter Templates

  1. In the Explorer Tree, select the Template Information object.

  2. There are options in creating a converter template at this point.

  1. The Creating an Entity screen will be displayed.

  2. Select the Converter entity type by left-clicking on the Converter radio button.

  3. Click on the Next button on the bottom right of the screen.

  4. In the Entity Name field, enter the desired name for the converter template.

  5. In the Datasource pop-list, select the desired datasource or (use default).

  1. In the Based On pop-list,select the template on which the new converter template will be based.  Any mutable blocks assigned to the converter template selected will be copied to the new converter template.  Select (NONE) to create a template that is not based on any other template.

  2. Leave the Default Mode pop-list, set to Execute Convert.  There is only one mode for converter entities.

  3. Click on the Next button on the bottom right of the screen.

  4. The Adding New Block screen will be displayed.

  5. See the Adding Blocks to Converters section for the next steps.

Modifying Converter Templates

  1. In the Explorer Tree, expand the Template Information object and select the template converter entity that you wish to modify.

  1. Display the converter entity properties.  These will either be displayed in Alphabetical or Logically, depending on the setting of the [Sort Alphabetically/Logically] button.  The following instructions are assuming that the properties are sorted logically.

  2. In the Name property, the name that you entered when creating the template is displayed.  It can be changed, if desired.

  3. In the Description property, enter a user-defined description for this template.  The default is the type of template followed by the template name. (i.e. Convert:TEMPLATE)

  4. The datasource that you selected when creating the template will be displayed.  It can be changed, if desired.

  1. In the Allow Anonymous pop-list, select true if anonymous users should have access to this template.  Select false if anonymous users should not have access to this template.  This is the default setting for converters created from this template.

  2. The Inherits From pop-list displays the template from which this template was created, grayed out.  This value cannot be changed.

  3. The Default Mode pop-list is set to Execute Convert.  There is only one mode for converter entities.

  4. In the Before Save property, enter any code that should be run before any saves are executed on this template.  The code entered here should be written in SQL.  This is the default setting for converters created from this template.

  5. In the After Save property, enter any code that should be run immediately after any saves are executed on this template.  The code entered here should be written in SQL.  This is the default setting for converters created from this template.

  6. In the Results Disposition property, only Return to Caller can be selected.

  7. The Created on property displays the date and time on which the converter template was created and cannot be changed.

  8. The Modified on property displays the date and time on which the converter template was last changed and cannot be modified.

  9. When all changes have been made, press the [Save] button in the Main Toolbar.

Xephr is a registered trademark of NDS Systems, LC.

Copyright © 2007 NDS Systems LC.