Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-67900

Unable to Preview Excel Document using Excel Macro in New Editor




      Issue Summary

      Users that are attaching Office Excel files to their Confluence pages are unable to preview the Excel Document while using the New Editor/old editor.


      • Cloud with the New Confluence Editor
      • Cloud with old confluence edior

        Steps to Reproduce

      1. Create a New Page
      2. Upload an Office Excel Macro
      3. Add an Office Excel Macro
      4. Input the Page Name, select the File Name, and click the Preview button in the macro window

      Expected Results

      Excel File is previewed in the Macro and we will be able to insert the macro using insert button.

      Actual Results

      No Preview is shown,will not be able to insert the macro using insert button.

      Browser Console log shows:

      overrides.js:74 Uncaught TypeError: Cannot read property 'getCurrentTitle' of undefined
          at e.beforeParamsRetrieved (overrides.js:74)
          at Object.q [as getMacroDefinitionFromForm] (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?externals=__local-default__&locale=en-US:74)
          at Object.previewMacro (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?externals=__local-default__&locale=en-US:91)
          at Object.a.previewMacro (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?externals=__local-default__&locale=en-US:129)
          at HTMLAnchorElement.<anonymous> (com.atlassian.confluence.plugins.confluence-macro-browser:macro-browser-js.js?externals=__local-default__&locale=en-US:115)
          at HTMLAnchorElement.dispatch (jquery-min.js:1)
          at HTMLAnchorElement.a (jquery-min.js:1)


      Preview seems to work while using the Old Editor and if No Page Name is Specified (in the New Editor)

      If the Excel Macro is added immediately to the page after Drag and Dropping the Excel file, the preview will not render. User will need to first publish the page after uploading the Excel file and then edit the page to add the macro.


      Leave the "Page Name" field blank and/or insert the Macro and the Editor should render a preview (only after the page has been published after the attachment has been uploaded)


        Issue Links



              Unassigned Unassigned
              scranford Shawn C
              11 Vote for this issue
              21 Start watching this issue