BUY

Integration OnlyOffice and CommuniGate Pro

View and edit documents in a browser window

Pronto! HTML5 interface has the ability to open and edit documents (doc, xls, ppt, etc.) online using OnlyOffice Document Server.

For OnlyOffice integration you need to:

1) Create named skin hPronto-

2) In the created skin modify the file strings.files.data. Before the last closing curling brace (“}”) add the three lines pointing to the Document Server.

OnlyOfficeEditorUrl = "scheme://documentserver.dom:_port_/OfficeWeb/apps/api/documents/api.js";

OnlyOfficeEditorCustomPort_http = "80";
 
OnlyOfficeEditorCustomPort_https = "443";

In the first line replace the part containing domain name (documentserver.dom) with the actual OnlyOffice Document Server installation.


Please be aware!

_port_ is a variable! Replacing it with actual http/https port prevents the described feature from working.

The two following lines contain port numbers used by OnlyOffice installation. You need to modify it if non-standard port numbers for http/https are used.

Sample file downloadable by the link below is pointed to the publicly available demonstration OnlyOffice server.


3) Upload onlyoffice.wcgp script file to the Unnamed skin on the server/cluster-wide level.

This is a handler of requests to OnlyOffice server to upload the files for editing and than download it back to the storage.

After these actions are performed in hPronto "Files" section you will be able to create and edit documents by clicking the "+" sign.


Please pay attention!

The user should have rights to create additional browser tabs forked from the tab with hPronto interface URL. So the first attempt to open file may be unsuccessful with consequent request to grant this right for the current user.

Changes in documents are saved automatically. Within 5 seconds after the closing of editing tab the modified document is downloaded and overwriten in the storage.

To "Switch off" this integration feature you need to remove the lines mentioned above in strings.files.data


Demonstration stand: http://bestvoip.communigate.ru/ under link "HTML5".

Download the script onlyoffice.wcgp >>

Download the sample file strings.files.data >>


And here you'll find the step-by-step guide how to install OnlyOffice Document Server:

https://helpcenter.onlyoffice.com/server/integration-edition/linux/linux-installation.aspx
https://helpcenter.onlyoffice.com/server/integration-edition/index.aspx


To get more info write to support@communigate.ru