Templates are list lists of content templates to which can be used in the notifications, like task assignment or reminders. Templates can be used to define as a mail notification or generate documents from the scripting environment.
By default, emakin uses predefined templates to send notifications, but mail content can be customized by creating a new template.
The following steps describes describe how to create message templates in the Emakin.
- To open templates, step in the pool. Click "Add New Template" button, and the message templates design pop-up will open.
- Enter the following information.
Name
Name of of a message template.
Subject
Subject of a message template.
Type
Type of a message template.
- Standart type is utilized to create the content of written type. For more information please refer to to the data templates.
- XSLT type is utilized to create the content of of xml type.
Click on the "Done" button, edit and details button will appear below the form name. Details button is used for design designing a message content.
Standart Type:
If standart type is chosen, content area will open be opened on the same page. Message template consists from the text and form the special field.
We will analysis analyse the following screen content:
- Dear is message of initiation word.
- Identity is a field on the form. We want to bring the identity data of identity from the form, into the message. Before we find to identity under which title.
- Owner is the title of an identity.
- Start with two curly braces, enter the "Owner" name, and add a slash, then enter the "Identity" name, and add two curly braces.
- Click on the html button, and the message template text will transform to the html format.
- Click Details button under the form name to close the window.
When the process runs, message will go to the users' e-mail address.
Example message in an e-mail:
...
If XSLT type is chosen, content area will open be opened on the same page. Message template consists of xml content.
You can use the default templates, or can create the new templates.
Defined templates can also be also used in scripting. For more information please refer to the $Templates page.
Default Templates
By default, emakin uses the following templates that which are stored in the "configuration/messagetemplates.xml" file:
...
Uses industry standard XSLT format, but requires some technical skills. For more information please refer to https://www.google.com.tr/search?q=xslt
...