Breaking News
Home / How To / How to integrate ONLYOFFICE editors with Moodle on Ubuntu

How to integrate ONLYOFFICE editors with Moodle on Ubuntu

ONLYOFFICE is an open source office suite distributed under GNU AGPL v3.0. It consists of web-based viewers and collaborative editors for documents, spreadsheets and presentations. ONLYOFFICE editors can be integrated with various content management services such as Nextcloud, Seafile, OpenOlat, Alfresco, ownCloud, HumHub, Plone, etc. and in the solution that other developers build themselves. The editors can also be used with the collaboration platform ONLYOFFICE.

Moodle is an open source platform that makes it possible to build a customized secure teaching environment in your own network. Integrated with Moodle, ONLYOFFICE allows teachers and students to collaborate on electronic documents within the courses in real time while all changes are saved back to Moodle.

In this tutorial we will learn how to connect ONLYOFFICE online editors and your Moodle instance using the activity plugin available in the Moodle library.

Step 1: Install ONLYOFFICE Document Server

To work with documents within Moodle, you need an instance of ONLYOFFICE Document Server (online editor) that can be solved and connected both from your Moodle server and all end clients. ONLYOFFICE Document Server must also be able to POST to your Moodle server directly.

The easiest way to install ONLYOFFICE Document Server is to use Docker.

Run the following command:

sudo docker run -i -t -d -p 80:80 onlyoffice/documentserver

or get the latest version of the editors from GitHub.

You can also compile ONLYOFFICE Document Server from the source code by following the steps in this tutorial.

Step 2: Install the integration plugin

Download the integration plugin from GitHub and follow the usual Moodle plugin installation steps to install it in your mod / onlyoffice catalog.

Step 3: Configure ONLYOFFICE in Moodle

When done, enter the machine’s address using the ONLYOFFICE editors installed:

https: // dokumentserver /

To secure your instance and restrict access to ONLYOFFICE Document Server, enter the secret key in Moodle. Then enter the same secret key in the ONLYOFFICE Document Server configuration file to enable validation.

Step 4: Use ONLYOFFICE in Moodle

When you are ready with the integration, you can create ONLYOFFICE activity in any course to start working with documents.
Administrators / educators can restrict the downloading and printing of documents from within the ONLYOFFICE editor.
Clicking on the activity name / link on the course page opens the ONLYOFFICE editor in the user’s browser. With ONLYOFFICE, students and teachers can:

  • create and edit docx, xlsx, pptx, txt, csv files linked to the courses;
  • open the above formats and PDF files for viewing;
  • convert the following files to the corresponding OOXML (docx, xlsx, pptx) format: odt, ods, odp, doc, xls, ppt, pps, epub, rtf, html, htm;
  • work with advanced formatting and objects including autoforms, tables, charts, equations, etc .;
  • co-author files in real time with several collaboration tools;
  • use plugins like Translator, Thesaurus, etc.

ONLYOFFICE document server with Moodle

Source link