Nuxeo ONLYOFFICE integration plugin

This plugin enables users to edit office documents from Nuxeo using ONLYOFFICE Docs.

  • Currently, the following document formats can be edited: DOCX, XLSX, PPTX.
  • The following formats are available for viewing only: PDF, ODT, ODS, ODP, DOC, XLS, PPT.
  • The plugin allows multiple users to collaborate in real time and to save back those changes to Nuxeo.

You will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Nuxeo and any end-clients. If that is not the case, use the official ONLYOFFICE Docs documentation page. ONLYOFFICE Docs must also be able to POST to Nuxeo directly.

The easiest way to start an instance of ONLYOFFICE Docs is to use Docker.

Install it from marketplace.

You can also install it using nuxeoctl.

nuxeoctl mp-install /path/to/onlyoffice-nuxeo-package-x.x.zip

Edit nuxeo.conf and add following lines:

onlyoffice.docserv.url=http://documentserver/
onlyoffice.jwt.secret=

If you used Docker to install ONLYOFFICE Docs, use information from this repo to configure JWT.

If you used other installation options, check the API documentation for configuring JWT on the Document Server side.

To build Nuxeo plugin, the following steps must be performed for Ubuntu:

  1. The stable Java version is necessary for the successful build. If you do not have it installed, use the following commands to install Open JDK 8:

    sudo apt-get update
    sudo apt-get install openjdk-8-jdk
  2. Install the latest Maven. Installation process is described here.

  3. Download the Nuxeo ONLYOFFICE integration plugin source code:

    git clone https://github.com/onlyoffice/onlyoffice-nuxeo.git
  4. Compile Nuxeo ONLYOFFICE integration plugin:

    cd onlyoffice-nuxeo/
    mvn clean install
  5. Built package is located here ./onlyoffice-nuxeo-package/target/onlyoffice-nuxeo-package-x.x.zip.

The ONLYOFFICE integration follows the API documented here.


Download the Nuxeo ONLYOFFICE integration plugin here.