Expand my Community achievements bar.

SOLVED

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 Accepted Solution

Avatar

Correct answer by
Level 2

Thank you so much!!

View solution in original post

2 Replies

Avatar

Community Advisor

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

Correct answer by
Level 2

Thank you so much!!