Addons

Exporting Documents

Updated: October 10, 2024

This addon is deprecated since Nuxeo Platform LTS 2019.

Users can export documents on their computer. It is possible to export:

  • One document at a time
  • A selection of documents
  • An entire workspace, folder, section

Exports Available

From a Folder

  • The XML export is a low level export that enables users to either get the XML definition of the document or get a folder for each exported document that contains:
    • A document.xml file holding the document's metadata and various information such as the applied access rights
    • A .blob file that holds the binary content of the document. This blob is referenced in the document.xml file
  • The ZIP Tree XML export enables you to export a whole workspace, section or folder in a zipped XML folder. This export is only available on folderish documents.

From a Document

  • The PDF export enables you to get a PDF version of your document. This export is only available on non-folderish documents.
  • The ZIP XML Export enables you to get a zipped folder with the documents' main attachment (.pdf, .doc files). This export is only available on non-folderish documents.
  • The XML export is a low level export that enables users to either get the XML definition of the document or get a folder for each exported document that contains:
    • A document.xml file holding the document's metadata and various information such as the applied access rights
    • A .blob file that holds the binary content of the document. This blob is referenced in the document.xml file

Export is available from:

  • The worklist
  • The Export button, available by clicking the icon in the More menu

Exporting Attachments

Users can easily export the attachments of a document or of a selection of documents, i.e. their main file and the additional attachments added from the Files tab of the documents.

Exporting the Attachments of a Document Selection

You can export the attachments of several documents at the same time, using the worklist.

To export a selection of documents, check the box that corresponds to the documents to export. Click on the Add to worklist button.

The documents are added to your worklist, in the left part of the screen.

Optionally go in other folders and add other documents to your worklist. In the worklist, click on the Export as ZIP link and Save the "Clipboard.zip" folder.

When you unzip it, you get the documents' attachments and an INDEX.txt file that summarizes the content of the export.

Exporting the List of Documents in a Folder

Just like it is possible to export search results, it is possible to export the list of documents in a workspace, section or folder. You can use the Excel export which enables you to get the list of documents inside the folder in an Excel table.

To export the list of documents of a space in an Excel file, click on the icon displayed in the top right corner of the Content tab of the workspace, folder or section. You are proposed to save a "document_content.xls" file, that displays the same information on the folder's documents as in the Content tab.

Low-Level Exports

XML export is a low level export that enables users to get a set of information on documents in an XML file. This export type is useful for debugging, and as such, is mainly intended to administrators. You can export:

  • A single document
  • A selection of documents
  • The structure of a folder

XML Export of a Single Document

The XML export of a document enables users to get a folder for the exported document that contains:

  • A document.xml file holding the document's various information (the applied access rights, the document's metadata, its path)
  • A .blob file that holds the binary content of the document. This blob is referenced in the document.xml file

To get the XML export of a document, from the document, click on the icon or, if the icon is not available on the action bar, on the Export button of the More menu in the action bar.

Click on ZIP XML Export on the pop-up window. You are proposed to save a "export.zip" file on your computer.

If you're only interested in the XML file of the document, click on XML Export. The XML file should open in a new tab or window (depending on your browser's preferences).

Save the "export.zip" file. When you unzip it, you get a folder named from the document, that contains a document.xml file and .blob for each attachment of the document.

XML Export of a Document Selection

It is possible to do an XML export of several documents in a single export, using the Worklist.

To export a selection of documents, check the box that corresponds to the documents to export to select it. Click on the Add to worklist button.

The documents are added to your worklist, in the left part of the screen.

Optionally go in other folders and add other documents to your worklist. In the worklist, click on the Export to XML link and Save the "export.zip" folder.

When you unzip it, you get a folder structure that reproduces the Nuxeo Platform tree to the document.

XML Export of a Folder

It is possible to export a whole workspace, section or folder in a zipped XML folder. This specific export enables users to import the folder back, with the same access rights definition.

To get the XML export of a folder, from the folder (or workspace or section), click on the icon or, if the icon is not available on the action bar, on the Export button of the More menu in the action bar.

Click on ZIP Tree XML Export on the pop-up window. You are proposed to save a "export.zip" file on your computer.

If you're only interested in the XML definition of the folder, click on XML Export. The XML file should open in a new tab or window (depending on your browser's preferences).

Save the "export.zip" file. When you unzip it, you get a folder named from the document, that contains a document.xml file and .blob for each attachment of the document.