Skip to content

Template

Description

It is parsed the array of data with given template string within a text attribute which matches with dispatches values of shared values.

Attributes

  • tile: template
  • title
  • lines: [Array of objects]
    • text:Provide a simple text or template path string

Example

 {
  "tile": "template",
  "title": "Template test 1",
  "lines": [
    {
      "text": "test"
    },
    {
      "text": "{val1}"
    }
  ]
}

If we used this with any dispatches' layout then templates text like below

{
  "lines": [
    {
      "text": "{values.testAttribute}"
    },
    {
      "...": "..."
    }
  ]
}