You need an instance of ONLYOFFICE Docs (Document Server) that is resolvable and connectable both from Moodle 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 Moodle directly.
The easiest way to install an instance of ONLYOFFICE Docs is to use Docker.
This plugin is an activity module.
Follow the usual Moodle plugin installation steps to install this plugin into your mod/onlyoffice directory. Please see Moodle Documentation for more information.
The latest compiled package files are available here.
Once the plugin is installed, the plugin settings page will be opened. Alternatively, you can find the uploaded app on the Plugins overview page and click Settings.
Enter the name of the server with ONLYOFFICE Docs installed in the Document Editing Service address field:http://documentserver/
where documentserver is the name of the server with ONLYOFFICE Docs installed. The address must be accessible from the user browser and from the Moodle server. The Moodle server address must also be accessible from ONLYOFFICE Docs for correct work.
Once the plugin is installed and configured, you can add instances of ONLYOFFICE activity to your course pages as per usual Moodle practice:
Admins/Teachers can choose whether or not documents can be downloaded or printed from inside the ONLYOFFICE editor. This can be done in the Document permissions section.
Clicking the activity name/link in the course page opens the ONLYOFFICE editor in the user's browser, ready for collaborative editing.
The ONLYOFFICE integration follows the API documented here.
Download the Moodle ONLYOFFICE integration plugin here.