As a user doing a CSV export
I want to be able to choose the fields for the action
So that I can define the CSV content for my usage
Functional description
On NXP-25934 we have achieved the possibility to filter/select a result list and export it to CSV for external usage.
Nevertheless, the user is limited to what columns are configured on the data table.
In many cases, the to sets for fields (data table columns and needed CSV document properties) are not compatible and so the user still needs to have control to pick fields outside the columnes.
When to select fields?
After clicking the CSV export action, a dialog should appear to enable the user configuration.
Once the configuration is done, the file generation and sequent download starts.
How to configure?
As the data column fields and selection on NXP-25934 still makes sense for broader usage, we should provide these fields as main selection. But more advanced user might need to select other ad-hoc properties. As an alternative, the user might want to dump all properties on every exported document.
To this end, the UI should have:
- a checkbox list should be present with all the column fields, visible and hidden, with the visible already selected by default.
- bellow, another area "Add more metadata" with a suggester (selectivity). The source for suggestions should be the flat list of all available properties. The user can start to write a property name and it will be suggested from the full list of properties.
- after that section, a checkbox with "dump with all fields". When active, it should disable all the inputs above.
- Finally, there will be two actions at the bottom: "Cancel", "Export"
- depends on
-
NXP-25934 CSV export a listing
- Resolved
- is related to
-
NXP-29521 nuxeo-directory-suggestion should not try to connect when the operation is an empty string
- Resolved
-
DESIGN-272 Mockup for CSV export configuration
- Resolved