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.

Data

{
  "name": "Cars",
  "wheels": 4
}

{#myAlias = d.wheels}

{d.name} need {$myAlias} wheels!

Last updated