Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30817

Upload and create a compound document



    • Type: User story
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DAM


      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/


          Issue Links



              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: