내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
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 답변 개

Avatar

정확한 답변 작성자:
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”