Versions Compared

Key

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

...

In ui-config.json, you can add some export format that the backend offer. So far (31.01.2023), Datafari API offers Excel excel format to export results list.

Code Block
languagejson
"exportResults": {
    "Excelexcel": {
      "extension": "xls",
      "minResults": 1,
      "maxResults": 5000,
      "defaultResults": 100
    }
  }

...

Under each key, the following fields are mandatory:

...

:

...

  • minResults : minimum number of results to be exported

  • maxResults : maximum number of results to be exported

  • defaultResults : default number of results to be exported

The key format is the type format defined in the backend (excelfor example)

DEV mode banner

In ui-config.json, you can set the dev mode on. It can be useful for instance to warn your datafari users that you have not finished configuring your Datafari, but that they can start playing with it. In DatafariUI, a warn banner will be showed in the bottom of the screen. Here is a sample configuration :

...