Versions Compared

Key

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

...

Hotkeys IDs are defined into the useHotkey.js (activeSearchBar, deactiveSearchBar, ...). Defined here other IDs to increase the list of hotkeys available

Export search results

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

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

exportResults have to have at least one key under (here is Excel. Each keys here will be a format in the export modal:

...

Under each key, the following fields are mandatory:

  • extension : extension name used to name the downloaded file

  • minResults : minimum number of results to be exported

  • maxResults : maximum number of results to be exported

  • defaultResults : default number of results to be exported

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 :

...