Widget Text dynamic (old home only)

This is a content tile, use it to embed text on your dashboard. There is not limit in the numbers of characters, on click the tile displays a scrollable pop-up. The text displayed can be queried based on the user selection.

dynamic text 1

dynamic text 1

dynamic text 2

dynamic text 2

Configuration

Mandatory config options:

  • type:text-dynamic
  • data:: data source name as defined in the DATA_SOURCES block of your etl_config
  • content: name of the column in the data containing the text to display
{
  name:
  type: "text-dynamic"
  data:
    query:
      domain:
  content:
}

Ex1: Simple widget-text-dynamic

Based on the report selection, the text displayed will be different.

Data structure

| comments                                                                      | country |
| :------------------------------------------------------------------------------- | :----- |
| hi,  this is very interesting, you can say whatever you want, i'm like a bird. | France |
| hi,  this is even more interesting !!! | Germany |

Config file

{
  name: "Long free text"
  type: "text-dynamic"
  data:
    query:
      domain: "free_text_home"
      country: "<%= report.country %>"
  content: "comments"
}