• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      When you try to insert a MS Excel file (with xlsx extension) bigger than 2MB you get the following error:

      [xhtml.view.macro.ViewMacroMarshaller] marshal Exception executing macro: viewxls, with message: com.benryan.conversion.ConversionException: Cannot convert filename.xlsx, this file exceeds the maximum file size for xlsx files of 2MB.
      

      Could we increase this size?

            [CONFSERVER-25709] Unable to open xlsx files bigger than 2MB

            Still relevant in 2024

            Piotr Janik added a comment - Still relevant in 2024

            Anne EQS added a comment -

            We also absolutely require that plugin to show excel files in confluence.

            Anne EQS added a comment - We also absolutely require that plugin to show excel files in confluence.

            Hi @all, that plug in is absolutly what we need. We Need to Show transparent a part of a Excel sheet in the confluence website.

            • searchable on the site
            • searchable global

            What we miss or what at the moment is not optimal implemented, is:

            • the 2 MB quota for xlsx documents is not flexible enough
            • the address of the shown content did not works correctly for "width"
            • it is not possible to address a frame of the sheet beginning higher cell 0
            • the global search will not result the rendered page content, it links to the file and opens a file preview and download instead of the rendered page

            I mean this plug in has a high potential, but at the moment the features are not enough for professional usage.

            So ideally, the page would be static rendered by creation of the page, not instantly by acces.

            René Schulz added a comment - Hi @all, that plug in is absolutly what we need. We Need to Show transparent a part of a Excel sheet in the confluence website. searchable on the site searchable global What we miss or what at the moment is not optimal implemented, is: the 2 MB quota for xlsx documents is not flexible enough the address of the shown content did not works correctly for "width" it is not possible to address a frame of the sheet beginning higher cell 0 the global search will not result the rendered page content, it links to the file and opens a file preview and download instead of the rendered page I mean this plug in has a high potential, but at the moment the features are not enough for professional usage. So ideally, the page would be static rendered by creation of the page, not instantly by acces.

            cstjiraconfluenceadmin1821094836 added a comment -

            We still have this problem on Confluence 5.9.2. Please advise.

            cstjiraconfluenceadmin1821094836 added a comment - We still have this problem on Confluence 5.9.2. Please advise.

            Thanks everyone for the feedback here.

            As part of Confluence 5.7, we've introduced a new file previewer, which can handle Excel files of this size. If you click a file that's been inserted using the "Files and Images" menu or via drag and drop, it will be launched in the new previewer. You can read more here. We're no longer investing in the old viewfile macros, but you can still access them by going to "+" menu and choosing "Other Macros" or by typing {excel}.

            Please try out the new previewer and if you have any issues, please raise a new issue against that.

            Best,
            Natasha Prasad
            Confluence Product Manager

            Natasha Prasad added a comment - Thanks everyone for the feedback here. As part of Confluence 5.7, we've introduced a new file previewer, which can handle Excel files of this size. If you click a file that's been inserted using the "Files and Images" menu or via drag and drop, it will be launched in the new previewer. You can read more here . We're no longer investing in the old viewfile macros, but you can still access them by going to "+" menu and choosing "Other Macros" or by typing {excel}. Please try out the new previewer and if you have any issues, please raise a new issue against that. Best, Natasha Prasad Confluence Product Manager

            Veracode added a comment -

            Answering my own question: It appears that we were able to correct our problem by increasing a start-time parameter.
            ( from our change control form )

            • Steps to make the change
              • Copy the setenv.sh file for use in case of rollback.
              • Edit the setenv.sh file for the confluence.
                • sudo vi /opt/atlassian/confluence/bin/setenv.sh
                • Append to the JAVA_OPTS variable: "-Dofficeconnector.spreadsheet.xlsxmaxsize=10485760"
              • restart the service.
                • sudo service confluence restart

            Veracode added a comment - Answering my own question: It appears that we were able to correct our problem by increasing a start-time parameter. ( from our change control form ) Steps to make the change Copy the setenv.sh file for use in case of rollback. Edit the setenv.sh file for the confluence. sudo vi /opt/atlassian/confluence/bin/setenv.sh Append to the JAVA_OPTS variable: "-Dofficeconnector.spreadsheet.xlsxmaxsize=10485760" restart the service. sudo service confluence restart

            Veracode added a comment -

            Hello Folks. Any update on this? Is there a work-around?
            Running Confluence 5.5.2

            Veracode added a comment - Hello Folks. Any update on this? Is there a work-around? Running Confluence 5.5.2

            rupert.neethling added a comment - - edited

            Also just ran into this issue. And the Excel file in question will not work correctly in an earlier format. Confluence 5.1.5 and Confluence 5.5.2.

            rupert.neethling added a comment - - edited Also just ran into this issue. And the Excel file in question will not work correctly in an earlier format. Confluence 5.1.5 and Confluence 5.5.2.

            It would be great if a workaround for this could be offered. 2MB seems pretty small.

            Daniel Berman added a comment - It would be great if a workaround for this could be offered. 2MB seems pretty small.

            Is there any updates on this? It was created more than a year and a half ago. While Confluence allows us to change the size of the file attachments, why can't we change it for excel files?

            Adhip Pokharel added a comment - Is there any updates on this? It was created more than a year and a half ago. While Confluence allows us to change the size of the file attachments, why can't we change it for excel files?

              nprasad Natasha Prasad
              aconde Alejandro Conde Carrillo (Inactive)
              Votes:
              37 Vote for this issue
              Watchers:
              41 Start watching this issue

                Created:
                Updated:
                Resolved: