Developer forum

Forum » CMS - Standard features » Link to pdf open in browser instead of download - how?

Link to pdf open in browser instead of download - how?

Per Søgaard
Reply

When I link to a pdf in DW a would like it to open in a (new) window using pdf plugin instead of downloading the file which happens alle the time.

How to do this?


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Per,

 

You can add Download=false to the query string to prevent that from happening.

Hope this helps.

 

Imar

 
Per Søgaard
Reply

Thanks Imar

But my customer is using the normal link function in the editor and would like it to work always like that.

So can i get it to work like described without having the customer work in the source view. 

 
Nuno Aguiar
Reply

Hi Per,

 

You can always place the PDF within the Images folder, and will get that result.

The editor only forces download for files within the Files folder

 

Nuno

 

You must be logged in to post in the forum