Expandir minha barra de realizações na Comunidade.

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

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

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 Solução aceita

Avatar

Resposta correta de
Level 2
2 Respostas

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

Resposta correta de
Level 2

Thank you so much!!