magenta-aps / erms-export-ui-module

The Ui for the ERMS (alfresco) export module
MIT License
0 stars 1 forks source link

Setting the "level"-attribute in the <c> elements #28

Closed andreaskring closed 8 years ago

andreaskring commented 8 years ago

@tarvo3 from issue #13

It seems that the document (item level in EAD) has mapped as a file and therefore the aggregation hierarchy is missing a folder/case-file level. In other words, all DAO elements should belong to items not to files, because items correspond to records/documents in EAD. See for example the figure https://peelarchivesblog.files.wordpress.com/2016/02/chart-less.jpg.

andreaskring commented 8 years ago

@tarvo3 The mapping file given here https://github.com/magenta-aps/E-Ark-Alfresco-export-bridge/blob/develop/src/main/resources/mapping.xml is just an example. If the level attribute of the c-element should be "item" instead of "file" it can just be changed in the mapping file (i.e. in line 108 in the file linked to above)