Data templates transforms the data model into text or HTML content. Templates are used in many areas in emakin like form controls or mail templates etc.
...
Template | Outputs | Culture |
---|---|---|
{{ MyDate }} | 01/31/2014 16:04:12 +02:00 | |
{{ format(MyDate,'dd/MM/yyyy') }} | 31/01/2014 | |
{{ format(MyDate) }} | 31.1.2014 09:00 | tr-TR |
{{ format(MyDate,'d') }} | 31/01/2014 | |
{{ format(MyDate,'D') }} | Monday, June 15, 2009 | en-US |
{{ format(MyDate,'o') }} | 2014-01-31T09:00:00+02:00 |
...
Variable Name | Description |
---|---|
$ApplicationName | Name of application. (ex: emakin.com ) |
$ApplicationUrl | Base url of application (ex: emakin.com ) |
$DomainName$Domain.Name | Name of domain (ex: mydomain) |
$DomainUrl$Domain.Url | Url of domain (ex: https://mydomain.emakin.com ) |
$DomainLogo$Domain.LogoUrl | Logo image url of domain (ex: https://mydomain.emakin.com/logo.png ) |
$CustomVariable | Defined custom value. |
...