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?

2 answers

0 vote
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.

soumyajit I'm New Here Mar 29, 2018

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

612 views 20 11
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