Alias
Use aliases to simplify the maintenance of your report avoiding code repetition or to insert markers somewhere in the document where special characters like square brackets
[]
are not allowed, e.g., in worksheet names.Aliases can be used to:
- write
{#... = ...}
to define an alias - write
{$...}
to use this alias
Define aliases anywhere in the document, at the end, or at the beginning. Aliases are parsed and removed automatically before rendering.
{
"name": "Cars",
"wheels": 4
}
Template
Result
{#myAlias = d.wheels}
{d.name} need {$myAlias} wheels!
Cars need 4 wheels!
Last modified 1yr ago