Artículos con :
Cerrar
Changelog
Cerrar
Pruébelo en la nube
Centro de ayuda
integración

About the ONLYOFFICE and Confluence integration

ONLYOFFICE offers an official connector to integrate ONLYOFFICE Docs with Confluence and edit office documents within the document library. You can install the ONLYOFFICE connector from the Atlassian Marketplace or download it from the GitHub page. The application is distributed under the Apache license.

To learn more about how it works and how to compile the ONLYOFFICE connector for Confluence, please visit our API documentation.

Main features

  • Creating text documents, spreadsheets, and presentations using the New document option.
  • Creating and filling out online forms.
  • Editing and viewing documents with the Edit in ONLYOFFICE option.
  • Co-editing documents in real-time: two co-editing modes (Fast and Strict), Track Changes, comments, and a built-in chat.
  • JWT support to secure your traffic so that no one, besides the users with proper rights, can have access to your documents.

Supported formats

  • For creating, editing and viewing: DOCX, PPTX, XLSX, DOCXF
  • For filling forms: OFORM
  • For conversion to Office Open XML: ODT, DOC, ODP, PPT, ODS, XLS
  • For viewing only: PDF

What's new in version 3.0.2

Added

  • Compatibility with .oform and .docxf formats.

The full change log is available here.

Connecting ONLYOFFICE Docs to Confluence

Requirements

  • ONLYOFFICE Docs (Document Server) 5.9.4 or later

    You need an instance of ONLYOFFICE Docs that is resolvable and connectable both from Confluence and any end clients. It must be able to POST to Confluence directly.

    Please refer to the official documentation page to learn more about installing ONLYOFFICE Docs.

    You can also use ONLYOFFICE Docs Cloud (SaaS version).

  • Confluence Data Center 6.13.1 - 7.15.0 or Confluence Server 6.13.1 - 7.15.0

Installing the ONLYOFFICE connector for Confluence from the Atlassian Marketplace

You can download the latest connector version from the official Atlassian Marketplace. To do so, please follow these steps:

  1. Log into your Confluence instance as an administrator.
  2. Click the admin drop-down box and choose Manage apps. The Manage apps screen will appear.
  3. Click Find new apps on the left-hand side of the page.
  4. Locate ONLYOFFICE Connector for Confluence via search. Results will include the add-on versions compatible with your Confluence instance.
  5. Click Install to download and install your application.
ONLYOFFICE_connector ONLYOFFICE_connector

Configuring the ONLYOFFICE connector for Confluence

Go to Confluence administration -> Manage apps> -> ONLYOFFICE Connector for Confluence -> Configure:

  • Document Server - specify the URL address where ONLYOFFICE Docs is installed (e.g. https://documentserver).
    ImportantThe address of ONLYOFFICE Docs must be accessible from Confluence, as well as the address of Confluence must be accessible from ONLYOFFICE Docs.
  • Secret key - specify the JWT secret used to sign the data.
    Starting from ONLYOFFICE Docs v7.2, JWT is enabled by default and the secret key is generated automatically. You need to enable it on the Confluence side as well: find your secret key in the ONLYOFFICE Docs configuration file, then specify the same secret key in the connector settings. For more details, see the Enabling JWT for the ONLYOFFICE and Confluence integration section of this article.

Advanced server settings:

  • Server address for internal requests from the Document Editing Service - address that is used to access the Confluence server from the Document Editing Service.
  • Document Editing Service address for internal requests from the server - address that is used to access the Document Editing Service from the Confluence server.
ONLYOFFICE_configure ONLYOFFICE_configure

Enabling JWT for the ONLYOFFICE and Confluence integration

To protect documents from unauthorized access, ONLYOFFICE editors use the JSON Web Token (JWT). The token is added in the configuration when the Document Editor is initialized and during the exchange of commands between inner ONLYOFFICE Docs services. The secret key is used to sign the JSON web token and validate the token upon the request to ONLYOFFICE Docs.

Starting from ONLYOFFICE Docs v7.2, JWT is enabled by default and the secret key is generated automatically. You need to find your secret key in the ONLYOFFICE Docs configuration file, then specify the same secret key in the connector settings.

Step 1: Find your secret key in the ONLYOFFICE Docs configuration file

  1. Open the local.json file with any available text editor.
    • For Linux - /etc/onlyoffice/documentserver/local.json
    • For Windows - %ProgramFiles%\ONLYOFFICE\DocumentServer\config\local.json
    • For Docker – enter the ONLYOFFICE Docs container using the docker exec -it <containerID> bash command and open /etc/onlyoffice/documentserver/local.json

      Alternatively, you can use the following command to find the default secret key without opening local.json:

      sudo docker exec <containerID> /var/www/onlyoffice/documentserver/npm/json -f /etc/onlyoffice/documentserver/local.json 'services.CoAuthoring.secret.session.string'

    The local.json file should look like this:

    {
      "services": {
        "CoAuthoring": {
          "token": {
            "enable": {
              "request": {
                "inbox": true,
                "outbox": true
              },
              "browser": true
            }
          },
          "secret": {
            "inbox": {
              "string": "yoursecret"
            },
            "outbox": {
              "string": "yoursecret"
            },
            "session": {
              "string": "yoursecret"
            }
          }
        }
      }
    }
    
  2. The true value is specified in three sections. It means that token validation is enabled.
    • services.CoAuthoring.token.enable.browser
    • services.CoAuthoring.token.enable.request.inbox
    • services.CoAuthoring.token.enable.request.outbox
  3. The automatically generated secret key is specified in three sections. You can replace the default secret value with your own secret key. The secret key must be the same in three sections.
    • services.CoAuthoring.secret.inbox.string
    • services.CoAuthoring.secret.outbox.string
    • services.CoAuthoring.secret.session.string
  4. If you make changes, save them and restart the services for the config changes to take effect.
    supervisorctl restart all

Step2: Specify the same secret key in the connector settings

In the connector settings, specify the same secret in the Secret key field and save the settings.

Connecting to the demo ONLYOFFICE Docs

If you would like to test the ONLYOFFICE online editors within Confluence without installing ONLYOFFICE Docs, go to Confluence administration -> Manage apps -> ONLYOFFICE Connector for Confluence -> Configure, tick the Connect to demo ONLYOFFICE Document Server checkbox and click the Save button.

This is a public test server that will be available during a 30-day period. Don’t share your sensitive data there.

Start using ONLYOFFICE Docs within Confluence

To create a file:

  1. Open the page where you need to create a file.
  2. Click the New document button.
  3. Choose the needed file type.
  4. Enter the file name in the text field near the file type icon.
  5. Click the Confluence save object icon Save button.

The document will be opened in the ONLYOFFICE Docs editor.

ONLYOFFICE_newfile ONLYOFFICE_newfile

To edit or view a document:

  1. Find the needed file.
  2. Click the Edit in ONLYOFFICE button.

The document will be opened in the ONLYOFFICE editor.

To co-edit a document, the authorized users should open the same file together.

ONLYOFFICE_editfile ONLYOFFICE_editfile

To create a form:

  1. Open the page where you need to create a file.
  2. Click the New document button and choose the Form option.
    ONLYOFFICE_newform ONLYOFFICE_newform
  3. Enter the file name in the text field near the file type icon.
  4. Select the .docx file attached to this or other pages or choose the Create from blank option.
  5. The form will be opened in the ONLYOFFICE Docs editor.
  6. Save the form as .docxf to have future access to editing, revising or collaborating.

To create a fillable form and restrict file editing by other users:

  1. Go to the Attachments.
  2. Click the Create form using ONLYOFFICE link to the right of the .docxf file. The .oform file will be created in the Attachments section.
    ONLYOFFICE_createform ONLYOFFICE_createform

To fill out a form:

  1. Go to the Attachments.
  2. Click the Fill form in ONLYOFFICE link to the right of the .oform file.
    ONLYOFFICE_fillform ONLYOFFICE_fillform
  3. The form will be opened in the ONLYOFFICE Docs editor.
To learn more about forms please read the corresponding articles for creating and filling out forms.
Download Best editors on your website Let your site users view, edit and collaborate
on all types of text, spreadsheet and presentation files
También le podría gustar:
Cerrar