Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

TemplateOutputsCulture
{{ MyDate }}01/31/2014 16:04:12 +02:00 
{{ format(MyDate,'dd/MM/yyyy') }}31/01/2014 
{{ format(MyDate) }}31.1.2014 09:00tr-TR
{{ format(MyDate,'d') }}31/01/2014
{{ format(MyDate,'D') }}Monday, June 15, 2009en-US
{{ format(MyDate,'o') }}
2014-01-31T09:00:00+02:00
 

...

Variable NameDescription
$ApplicationNameName of application. (ex: emakin.com )
$ApplicationUrlBase url of application (ex: emakin.com )
$DomainName$Domain.NameName of domain (ex: mydomain)
$DomainUrl$Domain.UrlUrl of domain (ex: https://mydomain.emakin.com )
$DomainLogo$Domain.LogoUrlLogo image url of domain (ex: https://mydomain.emakin.com/logo.png )
$CustomVariableDefined custom value.

...