Notification Template
Definition
The Email Templates are useful to be reused in the configuration of Notification Definition (for example: greeting).
Configuration
You can access the Notification Template configuration :
by clicking on "Notifications" → “Templates”
by clicking on "System" → "Configurations" → "Notification Service" and perform an import/export.
Global Properties
Domain | Code |
---|---|
Version and encoding : Each Email Definitions starts by announcing the version and the encoding. |
CODE
|
DataSet: Each Email Definitions starts by announcing the DataSet. | |
Notify |
Template properties
Property name | Type | Mandatory | Description | Values |
---|---|---|---|---|
id |
| YES | The id is the unique identifier of the Notification Template. It is case sensitive and no special characters (except - or _) are allowed. | - |
name |
| YES | The Notification Template name. The name may be different from the identifier. | - |
description |
| NO | Used to describe the Notification that will be configured. | - |
contents | - | YES | Allows to define different contents. | - |
content | - | YES | Allows to define a specific content in French and/or in English. | - |
type |
| YES | Type of template.
| SNIPPET, BODY |
Example
<notify:NotificationTemplate id="INC1-internal-html-emailTemplate">
<name>INC1-internal-html-emailTemplate</name>
<description></description>
<contents>
<content locale="fr"><![CDATA[<div style="margin: 20px;font-size:13px">
<hr>Notification pour information</br><hr>
<p>Bonjour,</p>
<p>La ressource {{OBJECT.lastName}} {{OBJECT.firstName}} ({{OBJECT.login}}) vient d'arriver dans votre Ă©quipe dans la BU {{OBJECT.bu}} de l'Ă©tablissement {{OBJECT.establishment}}.</p>
<p>Veuillez vous connecter à sof'IAM pour compléter les informations (PC, email, accès lecteur réseau, applications,..) de la ressource en cliquant
<a href='{{featureUrl("identity-" + OBJECT.identityTypeNtf + "-hub", OBJECT.id, "identity-" + OBJECT.identityTypeNtf + "-read")}}'>ici</a></p>
</div>]]></content>
</contents>
<type>SNIPPET</type>
</notify:NotificationTemplate>