Configuring notification templates
Configure the content of the email messages that are sent to users when notifications are triggered.
Notification templates define the email messages that users receive when notifications are sent to them. Templates are HTML documents that combine static and dynamic elements to create messages. You use templates by attaching them to the notification schemes or notification tasks that you create. As triggering events occur, variables in the attached templates are resolved based on the event and context. Default templates are provided for each of the user-configurable events. You can use and modify the default templates or create your own.
When you create a template, you configure a subject element and a body element. Both the subject and body can include static and dynamic elements. Dynamic elements are defined with the Apache Velocity Template Language (VTL). VTL statements reference IBM® UrbanCode™ Release properties. For information about the VTL statements and properties that you can use in your templates, see Notification template variables.
The body element can also include images. Before an image can be used in a template, it must
first be uploaded to the IBM UrbanCode
Release server.
Images are stored in the folder specified by the notification.images.folder.path
property in the server.properties file. By default, the location is
[server_installation]/UCRelease/ucrelease/notification-images folder. Several
default images are available for you to use in your own templates.
notification.images.folder.path
property must be shared by all nodes.As you work on a template, you can check your work by displaying a preview of the notification email.