Voci con l'etichetta :
Provalo nel cloud
Centro assistenza

About the ONLYOFFICE and Liferay integration

ONLYOFFICE offers an official connector to integrate ONLYOFFICE Docs with Liferay and edit office documents inside Liferay Document and Media Library. You can download the ONLYOFFICE connector from the Liferay Marketplace or from the GitHub page. The connector is distributed under the Apache license.

To learn more about how the ONLYOFFICE connector for Liferay works , please visit our API documentation page.

Main features

  • Creating files using the Create with ONLYOFFICE menu option.
  • Viewing and editing existing text documents, spreadsheets, or presentations using the ONLYOFFICE Edit/View menu option within the Documents and Media section.
  • Co-editing documents in real-time: two co-editing modes (Fast and Strict), Track Changes, comments, and the built-in chat.
  • JWT support to secure your traffic so that no one can have access to your documents with the exception of the users with proper rights

Supported formats

  • For creating, editing and viewing: DOCX, PPTX, XLSX
  • For editing via conversion to OOXML: ODT, DOC, RTF, TXT, ODP, PPT, ODS, XLS, CSV
  • For viewing only: PDF, ODT, ODS, ODP, DOC, XLS, PPT

What's new in version 2.0.0


  • Ability to create documents
  • Go back from the editor
  • DE, ES, FR, IT, PT_BR, RU translations


  • Apache license

The full change log is available here.

Connecting ONLYOFFICE Docs to Liferay


  • ONLYOFFICE Docs (Document Server) 5.9.4 or later

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

    Please refer to the official documentation page to learn more about installing ONLYOFFICE Docs.
  • Liferay CE Portal 7.2 GA1+, Liferay DXP 7.2 GA1+, Liferay CE Portal 7.3 GA1+, Liferay DXP 7.3 GA1+, Liferay CE Portal 7.4 GA1+
  • ONLYOFFICE Connector v2.0.0 for Liferay

Installing the ONLYOFFICE Connector for Liferay

You can install the ONLYOFFICE connector using the App Manager or from the official Liferay App Store.

To install it using the App Manager:

  1. Navigate to Control Panel -> Apps -> App Manager.
  2. Click the Liferay options icon Options button.
  3. Click the Upload button.
  4. In the opened window, choose the ONLYOFFICE application file.

To install the connector from the App Store:

  1. Navigate to Control Panel -> Apps -> Store.
  2. Sign in with your Liferay account.
  3. Search the ONLYOFFICE Connector for Liferay.
  4. Purchase the application (it is free).

When the installation is completed, the application is ready for use.

Configuring the ONLYOFFICE connector for Liferay

Go to Control Panel -> Configuration -> System Settings. In the Platform section, choose the Connectors category and select ONLYOFFICE.

ONLYOFFICE_configure ONLYOFFICE_configure

Here you can configure the following settings:

  • ONLYOFFICE Docs address - specify the URL address where Document Editing Service is installed.
  • ONLYOFFICE Docs address for internal requests from the server - specify the address that is used to access Document Editing Service from Liferay.
  • Server address for internal requests from ONLYOFFICE Docs - specify the address that is used to access Liferay from Document Editing Service.
  • Secret key - specify the secret used to sign the data. The secret is used to validate the JSON web token upon the request to Document Server. The JWT configuration on the Document Server side can be found here.

After configuring the integration application, click the Save button to apply the changes.

Start using ONLYOFFICE Docs within Liferay

To create a file:

  1. Go to the Documents and Media section.
  2. Click the Liferay create icon Add File button.
  3. In the opened menu, click the Create with ONLYOFFICE button.
  4. On the opened page, choose the file type, specify its title and description (optionally).
  5. Click the Save button.

To edit a file:

  1. Find the needed file in the Documents and Media section.
  2. Click the document.
  3. In the opened menu, click the Edit in ONLYOFFFICE button.
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
Ti potrebbe essere d'aiuto anche...