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.
  • 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:

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 protects 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.

To protect your documents, you need to enable the token validation and specify your own secret key in the ONLYOFFICE Docs configuration file, then specify the same secret key in the connector settings.

Step 1: Configure ONLYOFFICE Docs

  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
  2. Enable token validation by changing the false value to true in three sections:
    • services.CoAuthoring.token.enable.browser
    • services.CoAuthoring.token.enable.request.inbox
    • services.CoAuthoring.token.enable.request.outbox
  3. Specify your own secret key by replacing the secret value with your own text string in three sections. The secret key must be the same.
    • services.CoAuthoring.secret.inbox.string
    • services.CoAuthoring.secret.outbox.string
    • services.CoAuthoring.secret.session.string
    {
      "services": {
        "CoAuthoring": {
          "token": {
            "enable": {
              "request": {
                "inbox": true,
                "outbox": true
              },
              "browser": true
            }
          },
          "secret": {
            "inbox": {
              "string": "yoursecret"
            },
            "outbox": {
              "string": "yoursecret"
            },
            "session": {
              "string": "yoursecret"
            }
          }
        }
      }
    }
    
  4. Save your changes.
  5. 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