Add a new message template

Before you can use a new message template, you must add it.

Location

XML file in the xml folder

Procedure

  1. Copy the <enum> element with the ID initiators from the default configuration to customizing.
  2. Next, use the <enumitem> element to create new message templates within the <enum> element. You must at least specify the attributes id and value. The value must be unique for both attributes within the <enum> element.
  3. Create a new property entry for the new message template (see Add/adapt properties of an enumeration). This entry enables the display of the message template in the list of templates.

Documents

enumerations.xml, enumerations.xsd

Example

  • ModifyMessageTemplate_AddNewMessageTemplate\WEB-INF\config\custom\xml\custom.xml: Add new message template
  • ModifyMessageTemplate_AddNewMessageTemplate\WEB-INF\config\custom\properties\application\custom.properties: Add new message template to template list