This is documentation for Semarchy xDI 2024.2, which is no longer actively maintained. For more information, see our Global Support and Maintenance Policy. |
Sorting data when writing a flat File
When writing an flat file, data can be sorted with the use of sort keys.
This offers the possibility to order easily the data that is written in the flat file with, if needed, multiple sort keys.
Metadata Configuration
The first step is to open the File Metadata to add the fields that will next be used in the Mappings to sort data.
For this, add as many 'sortKey' Property Fields as required under the node that you want to sort.
The sort keys are applied in the order they are defined in the Metadata.