29 C
Jaipur
Wednesday, October 28, 2020

How to integrate ONLYOFFICE editors with Nuxeo Platform

Must read

How to Install Microsoft Edge on a Chromebook

If you are unaware, Microsoft just released the first build of Microsoft Edge for Linux, which by extension means that it can also run...

EMUI 11 Might be Huawei’s Last Android-Based OS Before Switching to Harmony

With Huawei expected to transition to Harmony OS (also known as HongMeng in China) from Android in the coming months, EMUI 11 might well...

Boat Launches Its First Smartwatch — “Storm”; Priced at Rs. 1,999

Lifestyle products manufacturer, Boat has today forayed into the world of smartwatches with its first ever offering in the space. The new Boat Storm...

ONLYOFFICE Document Server is a free open-source office suite distributed under GNU AGPL v3.0. It comprises web-based collaborative editors for text documents, spreadsheets, and presentations for integration with multiple cloud storage services like Nextcloud, ownCloud, Seafile, Alfresco, Plone, etc. or for integration into the solution you’re building yourself. The editors can also be used together with the ONLYOFFICE collaboration platform (Community Server). 

Nuxeo Platform is an open-source Enterprise Content Management platform written in Java.

In this tutorial, we’ll learn how to integrate ONLYOFFICE online editors with Nuxeo Platform to edit and collaborate on docs stored there with no need to leave the application.
To work with documents within Nuxeo, you need an instance of ONLYOFFICE Document Server. In case you’re new to ONLYOFFICE, get the latest version of the editors from GitHub.

Install ONLYOFFICE integration plugin for Nuxeo

Run the nuxeoctl script:

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

You can also install the integration app from the official Nuxeo Marketplace.

Once done, make the ONLYOFFICE container accessible to the Nuxeo instance: configure the container network settings or use the public URL/localname of your machine. If you choose the latter option, update the nuxeo.url parameter in the nuxeo.conf file.

Alternative installation option: Compiling the integration plugin

To build the plugin, you need the stable Java version. In case you don’t have it on your machine, run the the following commands to install Open JDK 8:

sudo apt-get update
sudo apt-get install openjdk-8-jdk

Install the latest Maven version:

sudo apt-get install maven

Download the plugin source code:

git clone https://github.com/onlyoffice/onlyoffice-nuxeo.git

Compile the ONLYOFFICE integration plugin for Nuxeo:

cd onlyoffice-nuxeo/
mvn clean install

The build will be available at:

./onlyoffice-nuxeo-package/target/onlyoffice-nuxeo-package-x.x.zip 

Configure the integration plugin

Open the nuxeo.conf file.

Specify the URL of the server with the ONLYOFFICE Document Server installed:

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

Specify the JWT key:

onlyoffice.jwt.secret=YOURSECRET

The same JWT key has to be specified in the ONLYOFFICE configuration file.

Edit documents with ONLYOFFICE in Nuxeo

Log in to your Nuxeo Platform. Go to Browse -> Domain -> Workspaces -> ONLYOFFICE-Nuxeo to create a new document, spreadsheet, or presentation.

You can also access the editors’ interface by clicking on the ONLYOFFICE icon in the document menu:

With ONLYOFFICE online editors connected to Nuxeo, you are able to:

  • create and edit .docx, .xlsx and .pptx files;
  • view .pdf, .odt, .ods, .odp, .doc, .xls, .ppt, .csv, .rtf files;
  • share documents with other users of the platform;
  • collaborate on documents in real-time using two co-editing modes (real-time and paragraph-locking), change tracking, comments, built-in chat.

ONLYOFFICE in Nuexo

Source link

- Advertisement -

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to Install Microsoft Edge on a Chromebook

If you are unaware, Microsoft just released the first build of Microsoft Edge for Linux, which by extension means that it can also run...

EMUI 11 Might be Huawei’s Last Android-Based OS Before Switching to Harmony

With Huawei expected to transition to Harmony OS (also known as HongMeng in China) from Android in the coming months, EMUI 11 might well...

Boat Launches Its First Smartwatch — “Storm”; Priced at Rs. 1,999

Lifestyle products manufacturer, Boat has today forayed into the world of smartwatches with its first ever offering in the space. The new Boat Storm...

Linux Kernel 5.10 Will be the Next LTS Release and it has Some Exciting Improvements Lined Up

Development for Linux Kernel 5.10 is in progress. It’s been confirmed to be a long term support release and it will be bringing newer...