Disable document file preview

I DO NOT want to preview a document (.doc, .pdf, etc) in Confluence. I WANT to download it when I select it. How do I accomplish this?

3 answers

0 votes
Ann Worley Atlassian Team Jul 17, 2017

Go to <base_URL>plugins/servlet/upm/manage/all, find Confluence Previews and disable it:

Screen Shot 2017-07-17 at 2.54.22 PM.png

That wants me to be an admin. I'm a user and I (and many others) find this feature very annoying. Can't I turn off this feature as a user?

I have found that the link with preview looks something like:

http://xxx.xxx.com/pages/viewviewpage.action?spaceKey=AAA&title=BBB&preview=PATHtoPDF#CCC

and if I just press middle click which will simply download the file, the link looks like:

http://xxx.xxx.com/pages/viewviewpage.action?spaceKey=AAA&title=BBB#CCC

Note that the "&preview=..." is gone.

Do I need to write a Greasemonkey script to clean up these annoyinig links? There has to be a better way to do this.

Ann Worley Atlassian Team Jul 17, 2017

There isn't a setting in the user profile for turning off file preview. You can right click an embedded attachment and choose Save As (phrase depends on browser) to download it without previewing first.

I want to only disable xlsx preview ? Is it possible.

No, disabling the add-on does it for all users and file types.

Disabling the preview will also disable to click on an image and get a larger  view. Have a look on this issue and vote for a solution: https://jira.atlassian.com/browse/CONFSERVER-36899

It has been a year.  Has any solution to this been implemented?

So annoying that Atlassian has forced on us this "powerful new feature" which is not powerful (xlsx previews are laughably bad), and entirely beyond the control of the authors (that is, the users!  This is supposed to be a wiki.)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

258 views 1 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you