We'll create fresh WordPress site with ONLYOFFICE DocSpace installed. You have 20 minutes to test the plugin after that site we'll be deleted.
With ONLYOFFICE DocSpace plugin, you are able to use ONLYOFFICE DocSpace right within WordPress to create rooms, edit and collaborate on office docs, as well as you can add DocSpace rooms and files stored within these rooms to the WordPress pages when creating posts.
Exporting users to DocSpace
To export users from your WordPress to ONLYOFFICE DocSpace, click the Export Now button on the plugin settings page. A page with the user list will open — it includes WordPress users with the upload_files permissions.
To add a user or several users to DocSpace, check them in the list, select Invite to DocSpace from the drop-down list and click the Apply button.
In the DocSpace User Status column of this list, you can track whether a WordPress user has been added to DocSpace or not:
Working with ONLYOFFICE DocSpace within WordPress
After setting up the integration plugin, DocSpace will appear for users with the upload_files permission. Such users are able to access ONLYOFFICE DocSpace where it’s possible to create Collaboration and Custom rooms, invite users, and collaborate on documents within the rooms.
Adding a DocSpace room or file to the WordPress page
When creating a post, you can add the ONLYOFFICE DocSpace element (block) – room or file.
To add a room, click the Select room button, select the desired room and press Select. In the block settings, you can specify the desired width and height to be displayed on the page.
To add a file, click the Select file button, select the desired file from the room and press Save.
Access rights to rooms and files on the published pages are determined depending on the publicity status of the WordPress page:
The plugin allows working with office files via ONLYOFFICE DocSpace and makes the following requests to the service on the backend:
On the frontend, the following DocSpace elements are inserted:
Useful resources: