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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

yashwantv652839
Level 1
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
Bhuwan_B
Correct answer by
Community Advisor
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
Bhuwan_B
Correct answer by
Community Advisor
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

Bhuwan_B
Community Advisor
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”