HTML Assets in author needs to open in new tab instead of getting downloaded | Community
Skip to main content
New Participant
Jun 9, 2021 12:44 PM UTC
Solved

HTML Assets in author needs to open in new tab instead of getting downloaded

Dear Team,

we tried the approach presented in https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-asset-direct-link-downloads-does-not-open-asset-in/qaq-p/352145  but in author it still downloads

May I request if someone can be able to help me out here .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jun 9, 2021 1:27 PM UTC

There is an OSGi Configuration in Felix console named "Apache Sling Content Disposition Filter" which controls Content Disposition for different mime types based on the path. Uncheck the “enable for all resource Paths” Checkbox which will enable
the Content-Disposition response header as inline.

http://www.sgaemsolutions.com/2019/10/aempdf-is-getting-downloded-instead-of.html

 

3 replies

Bhuwan_B
Bhuwan_BAccepted solution
New Participant
Jun 9, 2021 1:27 PM UTC

There is an OSGi Configuration in Felix console named "Apache Sling Content Disposition Filter" which controls Content Disposition for different mime types based on the path. Uncheck the “enable for all resource Paths” Checkbox which will enable
the Content-Disposition response header as inline.

http://www.sgaemsolutions.com/2019/10/aempdf-is-getting-downloded-instead-of.html

 

Translate
New Participant
Jun 9, 2021 2:06 PM UTC
I tried that but it did not work
Translate