Articles avec le tag :
Fermer
Changelog
Fermer
Essayer dans le cloud
Centre d'aide
l'intégration

About the ONLYOFFICE and Nuxeo integration

ONLYOFFICE offers an official connector to integrate ONLYOFFICE Docs with Nuxeo and edit office documents within the content management system. You can install the ONLYOFFICE connector from the official Nuxeo Marketplace or download it from the GitHub page. The application is distributed under the Apache license.

To learn more about how it works and how to compile the ONLYOFFICE connector for Nuxeo, please visit our API documentation.

Main features

  • Editing text documents, spreadsheets and presentations.
  • Co-editing documents in real-time: two co-editing modes (Fast and Strict), Track Changes, comments, and a built-in chat.
  • JWT support to secure your traffic so no one, besides the users with proper rights, can have access to your documents.

Supported Formats

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

Connecting ONLYOFFICE Docs to Nuxeo

Requirements

  • ONLYOFFICE Docs 5.9.4 or later

    You need an instance of ONLYOFFICE Docs that is resolvable and connectable both from Nuxeo and any end clients. It must be able to POST to Nuxeo directly.

    Please refer to the official ONLYOFFICE Docs documentation page to learn more about installing ONLYOFFICE Docs.
  • Nuxeo LTS 2019

Installing the ONLYOFFICE addon for Nuxeo

You can connect ONLYOFFICE to a Nuxeo Online Services registered instance with internet access, an unregistered instance, or an offline instance.

The provided instructions use the nuxeoctl script. Visit the official Nuxeo documentation page to find more available options on how to install the packages.

For a Nuxeo Online Services registered instance with internet access please follow these steps:

  1. Stop your server
    ./nuxeoctl stop
  2. Run the following command to install the connector:
    ./nuxeo/bin/nuxeoctl mp-install onlyoffice-nuxeo-x.x.x
    Where onlyoffice-nuxeo-x-x-x is the latest available version of the ONLYOFFICE connector for Nuxeo.
    To find the connector version:
    1. Go to the Nuxeo Marketplace and find the official ONLYOFFICE connector.
    2. Click the Install button
    3. Find the connector version in the For a Nuxeo Online Sevices registered instance with internet access section.
  3. After the package is downloaded and installed, start your server
    ./nuxeoctl start

For an unregistered instance, or an offline instance please follow these steps:

  1. Stop your server
    ./nuxeoctl stop
  2. Download the connector
    wget https://connect.nuxeo.com/nuxeo/site/marketplace/package/onlyoffice-nuxeo/download?version=x.x.x 
    Where version=x.x.x is the latest available version of the ONLYOFFICE connector for Nuxeo. Otherwise, visit the Nuxeo Marketplace and find the link manualy.
  3. Install the package by providing the path to the downloaded .zip file
    ./nuxeoctl mp-install /Path/to/file/onlyoffice-nuxeo-x.x.x.zip
  4. After the package is downloaded and installed, start your server
    ./nuxeoctl start

Configuring the ONLYOFFICE addon for Nuxeo

Open the nuxeo/bin/nuxeo.conf file via any available text editor and add the following lines into it:

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

Where docserv.url is the URL of an installed and running ONLYOFFICE Docs instance, and jwt.secret is the secret to validate the JSON web token upon the request to ONLYOFFICE Docs.

If you used Docker to install ONLYOFFICE Docs, use information from the ONLYOFFICE GitHub page to properly configure JWT. If you used other installation options, check the API documentation for configuring JWT on the ONLYOFFICE Docs side.

Start using ONLYOFFICE Docs within Nuxeo

To edit or view a document:

  1. Open the needed file.
  2. Click the View in ONLYOFFICE button.

    The document will be opened for viewing and editing.

ONLYOFFICE_viewfile ONLYOFFICE_viewfile
To co-edit a document, the following is required: users need to have the permissions to edit the document and the document format has to be supported by the connector.

To co-edit a document:

  1. Open the summary page of the document.
  2. Click the Collaborative Edition With ONLYOFFICE icon in the bottom right corner of the window.

    The document will be opened for co-editing.

Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
Cela peut vous aider aussi :
Fermer