Email templating
The article explains, how email templating works
NotificationTemplate
resource
NotificationTemplate
resourceTemplates are defined with NotificationTemplate
resources. The shape of the resource looks like.
subject
of the emailtemplate
is the body of the emailid
of the templateresourceType
is alwaysNotificationTemplate
How to create a NotificationTemplate
NotificationTemplate
To create a NotificatinTemplate
send the following request in the REST console
Inlining dynamic values in templates
Every template has access to the dynamic values. For example, reset-user-password
template has access to user
and confirm-href
values. To inline a value use {{dynamic-value-name}}
syntax.
The following example shows usage of the inlining in the subject
and in the template
properties.
The full list of available templates and their dynamic values can be found here.
Last updated