Templates

Doxey comes with a simple yet powerful template language designed from scratch to be used in document templates. It comes with a unique syntax to merge data into the resulting output.

Your document templates will be clean and easy to read so that non-technical people will still be able to edit and adjust the templates.

The template language can be used to create personalized documents (often called mail merge).

But it can do so much more in Doxey as we will see later.

Template syntax

A very simple template could look like this:

Hello ${name}

If you have a variable called name containing the value Daniel the evaluated template will look like this:

Hello Daniel

Playgrounds

In the online help you will find a number of interactive samples that you can use to try out the various features right on the help page.

This will greatly help you to learn the templating syntax and will also help you to find the correct formatting options without the need to create an Doxey flow to do so.

Hey ${name},

I guess you are ${age;number(op=#)} years old.
{
  "name" : "Daniel",
  "age" : 11
}

   

Learn more

The following guides will cover the aspects of the templating language.

Questions and Feedback

If you have any comments on this page, feel free to add suggestions right to the Google document that we are using to create this site.

If you are not yet member of the Doxey community, please join now to get updates from our end or to provide feedback, bug reports and discuss with other users.

Last Updated: 03.01.20