Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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

 

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”