Nuxeo ONLYOFFICE integration plugin

This plugin enables users to edit office documents from Nuxeo using ONLYOFFICE Document Server - Community or Integration Edition.

The plugin allows to:

  • Create and edit text documents, spreadsheets, and presentations.
  • Share documents with other users.
  • Co-edit documents in real-time: use two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.

Supported formats:

  • For viewing and editing: DOCX, XLSX, PPTX.
  • For viewing only: PDF, ODT, ODS, ODP, DOC, XLS, PPT.

You will need an instance of ONLYOFFICE Document Server that is resolvable and connectable both from Nuxeo and any end-clients. ONLYOFFICE Document Server must also be able to POST to Nuxeo directly.

You can install free Community version of ONLYOFFICE Document Server or scalable enterprise-level Integration Edition.

To install free Community version, use Docker (recommended) or follow these instructions for Debian, Ubuntu, or derivatives.

To install Integration Edition, follow instructions here.

Community Edition vs Integration Edition comparison can be found here.

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 Document Server, 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 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:

    bash
    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.