Développer ma barre des réalisations de la Communauté.

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

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

Abrir PDF no navegador

Avatar

Level 2

Existe alguma configuração dentro do AEM para fazer o link abaixo abri num navegador ao invés de fazer download?

https://www.prudential.com.br/content/dam/prudential/portal-de-privacidade/guia-de-governanca-lgpd.p...

1 solution acceptée

Avatar

Réponse correcte par
Level 2
2 Replies

Avatar

Community Advisor and Adobe Champion

Yes, this behavior is due to the "Content-Disposition" header which is responsible for telling the browser to download an attachment or to open it in the browser, by default this will be set to download any asset.

 

You can disable this in the Apache Sling Content Disposition Filter, but I would recommend using the Apache method to fix it instead.

 

You can find all the details:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-5-asset-direct-link-... 

http://www.sgaemsolutions.com/2019/10/aempdf-is-getting-downloded-instead-of.html 



Esteban Bustamante

Avatar

Réponse correcte par
Level 2

Thank you so much!!