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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

364 views 20 10
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