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 .
- Select System management > Manage message attributes templates to open the Message attributes templates page.
- Click Add a message attributes template.
- Type a name for the template and, optionally, a description.
- Select an attribute to add to the template from the Name field drop-down list.
- If the attribute you want to add is not listed, click Add attribute, select an attribute from the drop-down list and click Add.
- Type a value for the selected attribute. This can be a fixed value or a value assigned at runtime.
- 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.
- 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:
- A1 = $sequence$$sequence$$sequence$
- A2 = $dd-mm-yyyy$
- This leads to A1 = 123 and A2 = today’s date in ddmmyyyy format.
- Click Add message attribute to template.
- Repeat the steps to add as many attribute-value pairs as you want for the template.
- To delete an attribute-value pair, click Delete next to that pair.
- 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.
- Select System management > Manage message attributes templates to open the Message attributes templates page.
- Select the checkbox next to the template you want to copy.
- In the Select an action box, select Duplicate. Then click Selected.
- A new instance of the template appears in the list with - Copy appended to the name.
- 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.
- 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.
- Select System management > Manage message attributes templates to open the Message attributes templates page.
- Select the checkbox of one or more message attributes templates to export.
- In the Select an action box, select Export.
- Click Selected to export the selected templates, or All to export all templates.
- If you are exporting all templates, click OK to verify you want to export the templates to a single xml file.
- 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.
- Select System management > Manage message attributes templates to open the Message attributes templates page.
- Select Import a message attributes template file to start using the wizard.
- On the Enter profile path page, complete the File name field by browsing to select the
xml
file to import.
- 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.
- Click Next. The import results display and identify the templates imported or ignored.
- 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. |
- Select System management > Manage message attributes templates to open the Message attributes templates page.
- Select the checkbox next to one or more message attributes templates to delete.
- In the Select an action box, select Delete.
- Click Selected to delete only the selected templates, or All to delete every template.
- Click OK to verify you want to delete the selected template(s).
Related topics