Confluence Option to View PDF instead of download

Currently when we click on a pdf link in Confluence/Wiki the PDF gets downloaded. Is there an option to Open directly or view directly? Is it a security issue? Other websites have this option. Can we change Confluence link behavior?

If not, is there a Adobe macro to view instead of download?

Also is it possible to have a dynamic anouncement section on the main dashboard?

we do not want to update the Dashboard page but want announcements viewable in a corner similar to the Activity Macro

4 answers

1 accepted

In e.g. Firefox it is in the menu: Tools > Options > Application
There you search for the right "Content Type" and choose the appropriate "Action".

0 vote
Timothy Chin Community Champion Jun 17, 2013

Currently when we click on a pdf link in Confluence/Wiki the PDF gets downloaded

How a PDF gets viewed is usually determined by the browser.

I am upgrading confluence from 5.1 to 5.6.5. On 5.1 version, clicking link to attached PDF file while show the file in browser, but on 5.6.5 it trigger download (test on same browsers, Safari/Firefox/Chrome, on Firefox, for PDF it is set to 'Preview in Firefox')

Check with curl, it show the HTTP header for new version has 'X-Content-Type-Options: no sniff'. Is this the cause? any way to fix/workaround it?

Both HTTP headers have: Content-Type: text/html;charset=UTF-8, which seems wrong.

The content type of attachment is application/pdf on both server. 

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 Tuesday 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 ...

485 views 19 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