Get Started
Usage API
Using WOPI
Additional API
More information
|
Liferay ONLYOFFICE connectorThis plugin enables users to edit office documents from Liferay using ONLYOFFICE Docs. Features
Installing ONLYOFFICE DocsYou will need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Liferay 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 Liferay directly. The easiest way to start an instance of ONLYOFFICE Docs is to use Docker. Installing Liferay ONLYOFFICE connectorEither install it from Liferay Marketplace or if you are building the connector by yourself, simply put compiled .jar file from build\libs folder to /opt/liferay/deploy. Liferay will install it automatically. Configuring Liferay ONLYOFFICE connectorIn order to configure connector, you must navigate to System Settings (Control Panel -> Configuration -> System Settings). In Platform section click the Connectors category and select ONLYOFFICE. Starting from version 7.2, JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs and for security reasons and data integrity. Specify your own Secret key on the Liferay System Settings page. In the ONLYOFFICE Docs config file, specify the same secret key and enable the validation. Compiling Liferay ONLYOFFICE connectorSimply run gradle build. Output .jar will be placed inside the build/libs directory. How it worksThe ONLYOFFICE integration follows the API documented here.
Download the Liferay ONLYOFFICE connector here. |