Expand my Community achievements bar.

Join expert-led, customer-led sessions on Adobe Experience Manager Assets on August 20th at our Skill Exchange.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

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

Avatar

Level 1

Dear Team,

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

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Level 1
I tried that but it did not work

Avatar

Community Advisor

Navigate to OSGi Configuration in Felix console named "Apache Sling Content Disposition Filter" and in the "Included Resource Paths and Content Types" add for image Ex: “/content/*:image/svg+xml”