Title: ONLYOFFICE DocSpace
Author: onlyoffice
Published: <strong>December 20, 2023</strong>
Last modified: April 28, 2025

---

Search plugins

![](https://ps.w.org/onlyoffice-docspace/assets/banner-772x250.png?rev=3267778)

![](https://ps.w.org/onlyoffice-docspace/assets/icon.svg?rev=3267778)

# ONLYOFFICE DocSpace

 By [onlyoffice](https://profiles.wordpress.org/onlyoffice/)

[Download](https://downloads.wordpress.org/plugin/onlyoffice-docspace.3.1.0.zip)

 * [Details](https://wordpress.org/plugins/onlyoffice-docspace/#description)
 * [Reviews](https://wordpress.org/plugins/onlyoffice-docspace/#reviews)
 * [Development](https://wordpress.org/plugins/onlyoffice-docspace/#developers)

 [Support](https://wordpress.org/support/plugin/onlyoffice-docspace/)

## Description

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.

**Plugin installation and configuration**

At first, go to your ONLYOFFICE DocSpace ([sign in](https://www.onlyoffice.com/docspace-registration.aspx)/
[sign up](https://www.onlyoffice.com/docspace-registration.aspx#login)) -> “Settings-
> Developer Tools – > JavaScript SDK”. There, enter your WordPress site address 
in the “Embed DocSpace as iframe” section.

A WordPress administrator can install the plugin via the Marketplace: [https://wordpress.com/plugins/onlyoffice-docspace](https://wordpress.com/plugins/onlyoffice-docspace).

If you want to install the plugin via your WordPress administrative dashboard, navigate
to the Plugins section and click “Add New”. Then, click “Upload Plugin” and select
the zipped plugin.

Once ready, go to the plugin settings and specify the DocSpace address in the “Connection
settings”.

**Log in as DocSpace Admin**

If DocSpace is successfully connected (as described above), the _Log in as DocSpace
Admin_ section appears on the Settings page. The DocSpace admin needs to log in 
here to perform the following actions:

 * export users from WordPress to DocSpace;
 * create a common user group _WordPress Users_ in DocSpace;
 * add DocSpace users to this created group when exporting users, as well as add
   users to the group who have already linked accounts themselves.

After logging in using the _Log in as DocSpace Admin_ option, the “Sign in” button
will change to “Sign out”. Clicking this button on behalf of the designated DocSpace
admin will disable any further user management actions (as outlined in the above
list). The “Sign out” button is accessible to any user with permissions to the Settings
page. For instance, if another DocSpace admin (admin 2) wishes to perform actions
in the plugin on behalf of the initial admin (admin 1), they can unlink admin 1’
s account in this section. Admin 2 can then log in by entering their credentials
in _Log in as DocSpace Admin_.

**User export (Optional)**

Once the DocSpace admin is successfully authorized, an optional “User Export” block
becomes available on the Settings page.

Clicking the “Open User List” button will redirect you to the WordPress Users page,
where you can export users from WordPress to DocSpace. These users are exported 
under the authority of the DocSpace admin currently logged in via the Settings page.
This means that any WordPress administrator can perform the export, as long as the
DocSpace admin is authorized within the DocSpace plugin settings.

**WordPress Users**

The WordPress Users page introduces a _DocSpace Account_ column once DocSpace is
connected. This column indicates the connection status between WordPress user accounts
and their corresponding DocSpace accounts. If the column contains a value, it signifies
an established connection. Conversely, a dash indicates no connection has been made
yet. Once the DocSpace administrator is authorized, the “Export to DocSpace” action
becomes accessible.

**Exporting users from WordPress to DocSpace**

WordPress administrators have the ability to export users from WordPress to DocSpace.
Exported users will gain seamless login to DocSpace, with an automatically generated
password assigned to them. Their WordPress email address will serve as their login
credential in DocSpace. Once exported, the user is added to the _WordPress Users_
group in DocSpace.

If a WordPress user with an email address already registered in DocSpace is exported,
a notification will appear. In this scenario, the user’s existing DocSpace credentials,
including their password, remain unchanged.

To export a user, the WordPress administrator needs to navigate to the WordPress
Users page. They can then select the desired user by checking the corresponding 
box, choose the “Export to DocSpace” option from the drop-down menu, and click the“
Apply” button. The selected user will be successfully added to DocSpace with the
User role.

**Unlinking WordPress-DocSpace accounts**

To unlink a WordPress account from a DocSpace account, the WordPress administrator
should go to the WordPress Users page and select the checkbox next to the desired
user. From the drop-down menu, choose “Unlink DocSpace Account” and click “Apply”.
This action will remove the connection between the selected user’s WordPress and
DocSpace accounts.

**Working with ONLYOFFICE DocSpace within WordPress**

User authorization
 If a user already has a DocSpace account, they can log in using
the DocSpace plugin for WordPress. To proceed, the user should access DocSpace through
the left-hand menu or by opening the file/room selector within the WordPress site
builder. An authorization window will then appear, prompting the user to enter their
DocSpace login credentials. Once authorized, the user will automatically be added
to the “WordPress Users” group in DocSpace. Once authorized, the user can seamlessly
work within DocSpace or select the desired room or file using the selectors.

Logging out of the DocSpace account
 To log out of the DocSpace account, open DocSpace
from the left-hand menu. Access the context menu next to the user name, then select
the Sign out option. This option is available to all DocSpace users.

Password recovery
 If a user forgets their password or seamless login fails, they
can click the _Reset Password_ button during the login process. This will open a
password reset window. If the entered email is registered in DocSpace, password 
reset instructions will be sent to that email address.

DocSpace in the left panel
 Once the plugin is configured, DocSpace will become 
accessible to users with the _upload\_files_ capability. This includes standard 
WordPress roles such as Super Admin, Administrator, Editor, and Author.

Users will gain access to a [fully functional DocSpace](https://www.onlyoffice.com/docspace.aspx),
where they can create rooms, invite participants, and collaborate on documents within
rooms, based on their assigned permissions. When inviting others to a room using
the _Invite users from list_ button, only existing DocSpace users will be displayed.

**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, height, and theme(
light/dark) 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. In the block settings, you can specify the desired width and
height to be displayed on the page, as well as the view – a full editor or Embedded.

**Access rights to a room/file on a DocSpace page**

Access rights to rooms and files on the published DocSpace pages are defined based
on the type of room and the user’s assigned permissions within DocSpace.

 * “Collaboration/Custom/VDR rooms” – Access to these rooms and their files is restricted
   to users who have been explicitly added. Users must be logged in to DocSpace 
   to view them. Other users will see a placeholder instead.
 * “Public/Form Filling rooms” – The content in these rooms is accessible to all
   users, whether or not they have a DocSpace account.

### How the plugin is using the ONLYOFFICE DocSpace service

The plugin allows working with office files via [ONLYOFFICE DocSpace](https://www.onlyoffice.com/docspace.aspx)
and makes the following requests to the service on the backend:

 * getting a list of DocSpace users
 * creating a user in DocSpace using WordPress user data
 * getting a DocSpace user by email
 * setting a password for a DocSpace user
 * getting authorization cookies of a DocSpace user
 * getting a DocSpace file
 * getting a DocSpace folder
 * inviting a user to a DocSpace room

On the frontend, the following DocSpace elements are inserted:

 * file selection control
 * room selection control
 * file display control
 * room display control
 * system frame for checking authorization

_Useful resources:_

 * [ONLYOFFICE DocSpace Terms of use](https://onlyo.co/41Y69Rf)
 * [Privacy Policy](https://www.onlyoffice.com/Privacy.aspx)

## Screenshots

 * [[
 * Adjust ONLYOFFICE DocSpace configuration settings within the WordPress administrative
   dashboard
 * [[
 * Create collaboration and custom rooms in ONLYOFFICE DocSpace
 * [[
 * Add ONLYOFFICE DocSpace rooms to the WordPress site
 * [[
 * Add ONLYOFFICE DocSpace files to the WordPress site
 * [[
 * Access ONLYOFFICE DocSpace within WordPress

## FAQ

### How to configure the plugin?

At first, go to your ONLYOFFICE DocSpace, switch to the Developer Tools and enter
your WordPress URL in the JavaScript SDK section. Then, open your WordPress and 
enter the DocSpace address in the plugin’s connection settings. Once connected, 
the “Log in as DocSpace Admin” option appears; the admin must log in here. Successful
authorization also activates an optional User Export option.

### What is ONLYOFFICE DocSpace?

ONLYOFFICE DocSpace is a room-based collaborative environment. With ONLYOFFICE DocSpace,
teams can create rooms with a clear structure entirely according to their needs 
and project goals and define from the start the required roles and rights that will
apply to all the files stored within these rooms. DocSpace comes with the integrated
online viewers and editors allowing you to work with files of multiple formats, 
including text docs, digital forms, sheets, presentations, PDFs.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ONLYOFFICE DocSpace” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ onlyoffice ](https://profiles.wordpress.org/onlyoffice/)

[Translate “ONLYOFFICE DocSpace” into your language.](https://translate.wordpress.org/projects/wp-plugins/onlyoffice-docspace)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/onlyoffice-docspace/),
check out the [SVN repository](https://plugins.svn.wordpress.org/onlyoffice-docspace/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/onlyoffice-docspace/)
by [RSS](https://plugins.trac.wordpress.org/log/onlyoffice-docspace/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.1.0

 * presentation background color selector
 * docspace-sdk-js v2.0.0
 * improved loading speed of public room

#### 3.0.1

 * fixed compatibility of the Gutenberg editor element, ONLYOFFICE DocSpace between
   versions of the plugin 2.x and 3.x

#### 3.0.0

 * Disconnect button in connection settings
 * setting Log in as a DocSpace Admin
 * creating shared group WordPress Users after connecting DocSpace
 * creating shared group WordPress Users after login System User
 * inviting to shared group users which authorize in plugin
 * inviting created through the plugin users to shared group WordPress Users
 * drop saved DocSpace Account after sign out in DocSpace(Sign out button)
 * reset password on login page
 * action Unlink DocSpace Account on Users page
 * export functionality to DocSpace has been moved to the main Users page
 * export users from wordpress to docspace with role User (rename User to Guest,
   PowerUser to User)
 * error stubs (unavailable, unauthorized)
 * settings page design

#### 2.1.2

 * fixed xss vulnerabilities in onlyoffice-docspace page component

#### 2.1.1

 * DocSpace JS SDK version 1.0.1
 * use username in user export data if first_name and last_name is empty

#### 2.1.0

 * ability to add multiple rooms/files to a page
 * block settings (view mode ‘editor/embedded’)
 * hide sign out button on page docspace
 * hide request name for anonymous
 * structure of tables with files (Name,Size,Type)
 * base theme in admin panel for docspace

#### 2.0.0

 * support for public rooms
 * improved block settings (theme, align)
 * improved view of the inserted blocks
 * delete public user “WordPress Viewer”

#### 1.0.1

 * minor code corrections, compliance with WordPress requirements
 * fix invite users to DocSpace without first name or last name
 * fix “DocSpace User Status”, when the user has not confirmed the email

#### 1.0.0

 * connection settings page
 * user synchronization
 * opening DocSpace in WordPress
 * inserting a file when creating a page
 * inserting a room when creating a page

## Meta

 *  Version **3.1.0**
 *  Last updated **12 months ago**
 *  Active installations **100+**
 *  WordPress version ** 5.7 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [integration](https://wordpress.org/plugins/tags/integration/)[onlyoffice](https://wordpress.org/plugins/tags/onlyoffice/)
 *  [Advanced View](https://wordpress.org/plugins/onlyoffice-docspace/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/onlyoffice-docspace/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/onlyoffice-docspace/reviews/)

## Contributors

 *   [ onlyoffice ](https://profiles.wordpress.org/onlyoffice/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/onlyoffice-docspace/)