Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
- label: 'Send Request'
  key: 'requestMailto'
  type: 'action'
  showInTableHeader: false
  showInDetailList: true

Using handlebar placeholders
Status
colourYellow
titleIN DEVELOPMENT

Alternatively the action can be defined in the configuration and use variables from the given section.

Instead of using a value from the entry.data as action-value, the action can be defined in the config-file and use variables, which will be replaced at runtime. In the following example, the following URL shall be opened via an action-button:  https://maps.google.at/?q=Stephansplatz%201,%20Wien. To achieve this, the following configuration must be made in the backend:

Code Block
- label: 'Send Request'
  key: 'requestMailto'
  type: 'action'
  value: 'https://maps.google.at/?q={{address}},%20{{city}}'
  showInTableHeader: false
  showInDetailList: true

Tables

type: table

This type can be used to show a list of objects as a table. In conjunction with a the ELO Maps this can represent tables with columns and a given list of lines.

Code Block
- label: 'Taxes'
  key: 'map_objekte_TAX_AMOUNT*'
  type: 'table'
  allowMarkup: markdown
  columns:
   - Net Amount
   - VAT in %
   - VAT in €
  showInTableHeader: false
  showInDetailList: true

...