Render Engine
A reporting service
Last updated
A reporting service
Last updated
The /Templates
endpoint renders templates in any format using the .
Apache FreeMarker® is a template engine: a library to generate text output (HTML web pages, e-mails, configuration files, source code, etc.) based on templates and changing data. Templates are written in the FreeMarker Template Language (FTL), which is a simple, specialized language... .
Imagine you have any document that contains placeholders - which we call a template:
And you have the data, which you want to insert into this template, to make it a document.
We call the process to fill out the template: render a template.
render( Template, Data) ⇒ document
Imagine you want to send a formatted HTML e-mail in case of an error. Here's the FreeMarker template, containing placeholders:
In case of an exception you have the following dataset that you want to use to render a nice e-mail:
is a powerful and proven open source library to render documents. Here is a second, more complex example, about what to expect.