...
Code Block | ||
---|---|---|
| ||
<h1>SAMPLE REPORT</h1> <h2>My Section</h2> <p>Section content</p> <h2>Sub Section</h2> <p>Child section content</p> |
Template Variables
All of custom defined process variables can be use in templates. Additionally some of system properties are automatically imported to template engine. Because of environment limits client and server side variables uses different variable contexts.
Client Template Variables
In form scripts like form script, validation rules that running in client side environment following variables are defined;
Variable Name | Description |
---|---|
$staticUrl | Static resources base address. (ex: https://static.emakin.com/ ) |
$applicationUrl | Application base address. (ex: https://mydomain.emakin.com/app/ ) |
$Process | Unique identifier of current process. (ex: 71E8B187-C049-4ba1-AE5E-6B0BAD6B7F42 ) |
$FolderName | Name of current folder that process is saved. (ex: Customer Relations ) |
$CustomVariable | Defined custom value. |
Server Template Variables
In process scripts like pre work, post work and other scripts that running in server side environment following variables are defined;
Variable Name | Description |
---|---|
$ApplicationName | Name of application. (ex: emakin.com ) |
$ApplicationUrl | Base url of application (ex: emakin.com ) |
$DomainName | Name of domain (ex: mydomain) |
$DomainUrl | Url of domain (ex: https://mydomain.emakin.com ) |
$DomainLogo | Logo image url of domain (ex: https://mydomain.emakin.com/logo.png ) |
$CustomVariable | Defined custom value. |
Activity Notification Template
Activity notifications like assigning a work item to a user or reminder notifications uses same template context. Addition the server variables following variables also can be used;
Variable Name | Description |
---|---|
$Id | Id number of work item |
$WorkItem | Instance of WorkItem. You can use . (dot) qualifier to access object properties like "$WorkItem.Instance.Number" |
$Recipients | Comma qualified recipient names. (ex: Ertan Tike, Emel Sayın) |
$Url | Url of work item. (ex: https://mydomain.emakin.com/app/?/workitem=1234 ) |
$AssignedTo | Comma qualified user names of that work item assigned. (ex: Ertan Tike) |
User Registration Template
Addition to server variables user registration invitation defines the following variables;
Variable Name | Description |
---|---|
$Ticket | Defines the system generated authentication token to embed in mail content. |
$DisplayName | Defines the display name of user. |