Export referential metadata from the DLM
As Lolita,
I want to export referential metadata in CSV format from the DLM, separately or together with data and aligned with the current data export features,
So that I don't need to open the DE to get them.
Functional specifications
In the context menu of the dataflow as well as in the multiple selections menu above the dataflow list, change the current Export data
to Export data & referential metadata
keeping the same icon.
On click, it opens a popup window similar to the one for Transfer data & referential metadata
in terms of design and look-and-feel.
The popup window is titled Export data and referential metadata
preceded by its icon
The user can choose to export:
- Both data and metadata (CSV)
- Data only (CSV)
- Data only (XML)
- Referential metadata only (CSV)
The user can choose to export a subset of the data and/or ref. metadata by entering the corresponding SDMX query syntax for data.
The DLM uses the entered query as is for data (as today) but translates it automatically to the proper SDMX Rest V2 query syntax for ref. metadata.
Important note: For ref. metadata queries, the NSI currently supports only a single value per dimension. Therefore, whenever the user wants to export (also) ref. metadata and enters a partial query, the DLM needs to check the content of the query while making the translation and before making the NSI request. If the user entered more than one item per dimension (the query filter contains a +
sign, e.g. AU+DE....A
), then the DLM displays an error message The export of referential metadata allows filtering by single dimension values only
.
When the user clicks on Export
(and the query syntax is correct), then the popup is closed and the DLM calls the NSI to export the data and/or ref. metadata in the requested format.
As today, if there is no data and/or ref. metadata available (the NSI returns 404), then (a) warning icon(s) with a message Export data: no data found
resp. Export referential metadata: no referential metadata found
appear(s) next to the hamburger menu of the related dataflow in an orange notification box (#f7a42c).