Expand my Community achievements bar.

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

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”