Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-62343

Edit Document button in Excel and Word macro does not trigger Edit in Office




      Issue Summary

      Since (at least) 7.10.2 The Edit Document button in the Excel and Word Office connector macro downloads the attachment rather than opening the attachment in either Word or Excel

      Steps to Reproduce

      1. Install Confluence 7.10.2 or 7.11.0
      2. Head over to General Configuration > Office Connector and ensure that Enable Edit in Office for all users option is enabled.
      3. Head over to a Confluence Page and upload a word or an excel attachment.
      4. Add the above attachment inside the a word or and excel macro
      5. Save the page

      Expected Results

      The Edit Document on top of the office macro is clickable and will open the attachment in Word or Excel.

      Actual Results

      The Edit Document on top of the office macro is clickable and downloads the application.

      Workaround 1

      Editing documents via the Attachments page 

      • Head over to the affected page > click (...) on the top right side of the page > Attachments

      Workaround 2

      Disable Edit in Office ( > General Configuration > Office Connector > uncheck "Enable Edit in Office for all users") and use Companion Apps to edit files.

      Workaround 3

      This requires downgrading the Office Connector plugin which may not be compatible with newer versions of Confluence and is not supported. However, this has been tested and it works with up to Confluence 7.11.0:

      1. Stop Confluence
      2. Copy/Download the OfficeConnector-11.2.2.jar from an older version of Confluence
      3. Place it in the confluence_install/confluence/WEB-INF/atlassian-bundled-plugins/ folder.
      4. From the same folder, move the OfficeConnector-x.x.x.jar to another folder as backup.
      5. Start Confluence

      If using Docker a volume like such will suffice:



      • Functionality works fine in Firefox
      • The Edit in Office button works from the attachments page
      • Confluence versions prior to 7.9 are not impacted



        Issue Links



              aknight@atlassian.com Alex K
              afaridi Ahmad Faridi
              19 Vote for this issue
              27 Start watching this issue