Manage message attributes templates

Add a message attributes template

Use this procedure to add a message attributes template to Activator. A template is a collection of attribute-value pairs. See .

  1. Select System management > Manage message attributes templates to open the Message attributes templates page.
  2. Click Add a message attributes template.
  3. Type a name for the template and, optionally, a description.
  4. Select an attribute to add to the template from the Name field drop-down list.
  5. If the attribute you want to add is not listed, click Add attribute, select an attribute from the drop-down list and click Add.
  6. Type a value for the selected attribute. This can be a fixed value or a value assigned at runtime.
  7. For example, assign a value by referencing another attribute from the collaboration message or the template. Suppose A stands for attribute. In the collaboration message A1= foo and in the template A2 = %A1% and A3 = %A2% bar. This leads to A2 = foo and A3 = foo bar.
  8. You also could assign a value based on a sequence (a counter) or a date by using the key word sequence and a date format. For example:
  9. A1 = $sequence$$sequence$$sequence$
  10. A2 = $dd-mm-yyyy$
  11. This leads to A1 = 123 and A2 = today’s date in ddmmyyyy format.
  12. Click Add message attribute to template.
  13. Repeat the steps to add as many attribute-value pairs as you want for the template.
  14. To delete an attribute-value pair, click Delete next to that pair.
  15. Click Save to save the template and its attribute-value pairs.

Duplicate a message attributes template

To save data entry time, you can duplicate a message attributes template and then edit the template.

  1. Select System management > Manage message attributes templates to open the Message attributes templates page.
  2. Select the checkbox next to the template you want to copy.
  3. In the Select an action box, select Duplicate. Then click Selected.
  4. A new instance of the template appears in the list with - Copy appended to the name.
  5. Click the new template and change the name. Then, change the message attributes as needed:
    • Use the Add a message attribute to template area to add new attribute-value pairs.
    • Click Delete next to a message attribute to remove it.
  6. Click Save to save the template and its attribute-value pairs.

Export and import a message attributes template

You can export one or more message attributes templates to a single xml file for later import. You can also export a single message attributes template from the edit page of the template by clicking Export this template.

  1. Select System management > Manage message attributes templates to open the Message attributes templates page.
  2. Select the checkbox of one or more message attributes templates to export.
  3. In the Select an action box, select Export.
  4. Click Selected to export the selected templates, or All to export all templates.
  5. If you are exporting all templates, click OK to verify you want to export the templates to a single xml file.
  6. Select to open or save the file, and then click OK. You must save the file to later import the file.

Use the following procedure to import an exported message attributes template xml file. If multiple templates were exported to a single xml file, all message attributes templates exported to the file are imported.

  1. Select System management > Manage message attributes templates to open the Message attributes templates page.
  2. Select Import a message attributes template file to start using the wizard.
  3. On the Enter profile path page, complete the File name field by browsing to select the xml file to import.
  4. Choose one of the following:
    • Replace the existing message attributes templates – This selection overwrites templates with the same name.
    • Ignore duplicate message attributes templates during import – This selection will not overwrite templates with the same name and will import only those templates from the xml file with unique names.
  5. Click Next. The import results display and identify the templates imported or ignored.
  6. Click Finish.

Delete a message attributes template

You can delete one or more message attribute templates at once. You can also delete a single message attributes template from the edit page of the template by clicking Delete this template.

Caution   Deleting a template breaks all existing references to it and may require you to update consumption exchanges, messaging processing actions, and external metadata sources.
  1. Select System management > Manage message attributes templates to open the Message attributes templates page.
  2. Select the checkbox next to one or more message attributes templates to delete.
  3. In the Select an action box, select Delete.
  4. Click Selected to delete only the selected templates, or All to delete every template.
  5. Click OK to verify you want to delete the selected template(s).

Related topics

Related Links