Voci con l'etichetta :
Chiudi
Changelog
Chiudi
Provalo nel cloud
Centro assistenza
integrazione

About the ONLYOFFICE DocSpace and WordPress integration

ONLYOFFICE offers an official plugin to integrate ONLYOFFICE DocSpace with the server version of WordPress. This plugin enables working with office documents directly in WordPress and adding DocSpace rooms and files to the WordPress pages and posts so that website visitors can view them in the published posts without the necessity to download documents.

Main features

  • Creating and editing documents, spreadsheets, presentations, and forms within WordPress.
  • Adding a DocSpace room or file to the WordPress page or post.
  • Viewing and editing documents within the WordPress page or post without the necessity to download documents.
  • Creating DocSpace rooms within WordPress.

Supported formats

  • For creating, editing, and viewing: DOCX, PPTX, XLSX, DOCXF.
  • For filling forms: PDF.
  • For editing via OOXML conversion: ODT, ODS, ODP, and RTF.

What's new in version 2.0.0

Added

  • support for public rooms
  • enhanced block settings (themes, paddings)
  • enhanced view of the inserted block

Changed

  • deleted public user "Wordpress Viewer"

The full change log is available here.

Connecting ONLYOFFICE DocSpace to WordPress

Requirements

  • WordPress server or cloud version.
  • ONLYOFFICE DocSpace SaaS or server version.
  • ONLYOFFICE DocSpace plugin for WordPress.

Installing the ONLYOFFICE DocSpace connector for WordPress

Configuring your DocSpace

  1. Use the Options icon menu in the lower left corner and select the DocSpace Settings option.
  2. For both SaaS and server versions: switch to the Developer tools -> Javascript SDK section. In the Embed DocSpace as iframe field, enter your WordPress address and click the + icon.
  3. For the server version only: in the Customization section, make sure that the DNS Settings option is enabled and the domain name of the DocSpace portal is specified.

Configuring your WordPress

  1. Download the connector from GitHub.
  2. Navigate to the Plugins section in your WordPress administrative dashboard and click Add New.
  3. Click Upload Plugin and select the zipped plugin.
  4. Go to the plugin settings and specify the following parameters:
    • DocSpace Service Address
    • Admin Login and Password
  5. Click Save.

When you click on the Save button, a user with the Room admin role will be created in ONLYOFFICE DocSpace, with the same data as the current WordPress user.

Installing the ONLYOFFICE DocSpace connector for WordPress Installing the ONLYOFFICE DocSpace connector for WordPress

Start using ONLYOFFICE DocSpace within WordPress

Exporting users to DocSpace

To start working you need 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:

  • Green checkmark: a WordPress user with the specified email has been added to DocSpace. Synchronization was successful.
  • Empty value: there is no WordPress user with the specified email in DocSpace. You can invite them.
  • Hourglass: there is a user in DocSpace with the specified email, but there was a synchronization issue. When logging into the DocSpace plugin for the first time, the user will need to provide a DocSpace login and password to complete synchronization.
Exporting users to DocSpace Exporting users to DocSpace

Creating DocSpace rooms 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, Custom, or Public rooms, invite users, and collaborate on documents within the rooms.

For more details on working with ONLYOFFICE DocSpace, please refer to our guides.

Working with ONLYOFFICE DocSpace within WordPress Working with ONLYOFFICE DocSpace within WordPress

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. Click the + icon, then Browse all, and choose ONLYOFFICE DocSpace.

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, as well as light or dark theme.

Adding a DocSpace room to the WordPress page Adding a DocSpace room to the WordPress 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 light or dark theme.

Adding a DocSpace file to the WordPress page Adding a DocSpace file to the WordPress page

After the post is published, your WordPress site visitors will be able to view this file without the necessity to download it. WordPress users will be able to view or edit files online/add new files to the room depending on their access rights.

Access rights to rooms and files for WordPress users on the published WordPress pages are determined by the following principles:

  • If the room should be available to all users, use a public room in DocSpace. It will be visible on the public WordPress page (a private WordPress page is only available to logged in users).
  • If the room should be available only to logged in users, use a non-public room in DocSpace. A WordPress login will be required to view it, even on a public page.

Please note the following specifics for DocSpace rooms published on WordPress pages:

  • DocSpace left menu is not avaiable;
  • Navigation is possible within the added room only;
  • If users have the Room admin or Power user role, they can create new files.
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
Ti potrebbe essere d'aiuto anche...
Chiudi