Developer forum

Forum » Templates » Prevent download files in Files/Files folder

Prevent download files in Files/Files folder

Kasper Legarth
Reply

Hello.

I have a customer who has applied some documents for all of their products. They have used an asset category for this.
When I use the link to each file in the template it gets forced downloaded by the DWSDownload.aspx service. The customer wishes for the files to be opened in a new tab and in that way lets the end user decide for themself if they wish to download it or where to download it, or even print the documents instead.

Is there a way to prevent this? I do not wish to tell the customer to move all their files from the Files/Files to the Files/Images folder there is a lot of products with a lot of files attached. Also from a naming convention, it is not logic that text files shall be placed in an image folder?

Does anyone have a work around for this?

Kind regards
Kasper.


Replies

 

You must be logged in to post in the forum