-
Type: User story
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: DAM
-
Tags:
-
Team:PLATFORM
-
Sprint:nxplatform #57, nxplatform #58
-
Story Points:5
We want a new FileManager plugin that takes as input a ZIP file and creates a Compound Document structure with the ZIP entries.
The root document type will be CompoundDocument with the ZIP filename as name/title (minus the extension). All ZIP entries will be used to create the children documents, using the FileManager service:
- folder entries will be of type CompoundDocumentFolder.
- file entries will be created using the FileManager in the right folder.
It's probably worth creating a new CompoundDocumentService that will handle the document and structure creation (as in the existing add-on).
Acceptance tests:
Assuming I have a compound document in a pre-formatted ZIP file, as a user I can upload this ZIP file through the REST API and import it into a given folder on my Nuxeo server. As a result, I can see that my compound document was detected and the whole hierarchy was created:
- the root document is of type CompoundDocument
- files are either of type File, Picture Video or Audio
- folders are of type CompoundDocumentFolder
Existing add-on with some logic to take back if needed: https://github.com/nuxeo-sandbox/nuxeo-compound-document/
- is required by
-
NXP-30951 Add layouts for CompoundDocument and CompoundDocumentFolder
- Resolved
-
NXP-30952 Add Compound-aware nuxeo-document-tree
- Resolved
-
NXP-30953 Add document page for the CompoundDocument facet
- Resolved
-
NXP-30962 Use nuxeo-document-page for CompoundDocument facet
- Resolved
-
NXP-30963 Disable replace and delete blob buttons for CompoundDocument facet
- Resolved