ONLYOFFICE DocSpace
- Moodle 4.3–5.0
- 更新 2025-09-29
This plugin enables users to connect ONLYOFFICE DocSpace rooms as activities in Moodle for collaboration.
Plugin configuration
If you are new to ONLYOFFICE DocSpace
You can register a free account on the official website: onlyoffice.com/docspace-registration.aspx .
The STARTUP plan of ONLYOFFICE DocSpace is absolutely free to use. If you want to check other tariff plans, visit this page .
Connection settings
At first, go to your ONLYOFFICE DocSpace ( sign up / sign in ) -> Developer Tools -> API keys -> Create new secret key to create the API key.
Set Permissions = All for full access, or customize permissions by selecting Permissions = Restricted .
The minimum required permissions for the API key are:
Rooms: Write
Profile: Read
Contacts: Write
Ensure the API key is created by a user with the DocSpace Admin role.
In Moodle, go to Site Administration -> Plugins -> Activity Modules -> ONLYOFFICE DocSpace .
Here, enter the DocSpace Service Address (the URL of your DocSpace) and ONLYOFFICE DocSpace API key , then click the Connect button.
If the connection is successful, two buttons will appear on the settings page:
Change: Allows you to switch the connected DocSpace. Data in the current DocSpace will remain intact.
Disconnect: Fully disconnects the plugin. This action clears user authorizations and hooks, and removes the connection between the Moodle Users group and Moodle. When reconnecting DocSpace, a new group will be created, but the original Moodle Users group will remain in DocSpace. This option is recommended for users who need to completely reset all information within the plugin.
Users export
To start working, you need to export users from Moodle to DocSpace. To do this, click the Export Users button on the settings page. A page with the list of users will open. This list includes Moodle users with the roles Teacher, Manager, Course Creator . If a user with such credentials (email) already exists in DocSpace, synchronizing authorization will not occur.