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

370 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