view Html files from dam in AEM as cloud Service | Community
Skip to main content
naresh5361
Level 2
November 18, 2022
Solved

view Html files from dam in AEM as cloud Service

  • November 18, 2022
  • 1 reply
  • 2020 views

Hi ALL,

 

How to view html, pdf, xlsx, docx, svg png files from dam in aem as cloud service.

i have removed the blacklisted "text/html". but not able to view htmls.

 http://localhost:4502/system/console/configMgr/com.day.cq.dam.core.impl.servlet.SafeBinaryGetServlet

 

Thanks,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SantoshSai

@naresh5361 Those above scenario has been explained for AEM on-prem.(Just for your info). However, unfortunately, as I described above for AEMaaCS Content disposition filter is Not supported  - Please visit this documentation for more details: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/assets-cloud-changes.html?lang=en

 

1 reply

SantoshSai
Community Advisor
Community Advisor
November 19, 2022

Hi @naresh5361,

Along with removing "text/html" from the configuration here http://localhost:4502/system/console/configMgr/com.day.cq.dam.core.impl.servlet.DamContentDispositionFilter

you should also add Content Disposition Paths the in Apache Sling Content Disposition Filter if it doesn't work.

However, my analysis is

  1. I don't think you can render the asset directly. You would need a renderer that can use this asset URL to render. 
  2. Since, AEM DAM is an asset container, html can be uploaded and used as an asset in other html, but html cannot be opened directly from DAM. 
  3. Please review this [0] article as it says - Content disposition filter is Not supported for AEMaaCS.

         

[0]: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/assets-cloud-changes.html?lang=en

Hope that helps!

Regards,

Santosh

Santosh Sai
naresh5361
Level 2
November 21, 2022

Hi @santoshsai ,

 

Thanks for responding to this. 

yes i have added asset path to Apache Sling Content Disposition Filter. but not working.

not only html i have other mime type in Dam. Is there any other solution to render those files in dam using vanity url.

what is the renderer in this "You would need a renderer that can use this asset URL to render." could you please clarify.

and is there any vanity url to render an asset. 

 

Thanks.

 

 

 

 

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
November 21, 2022

@naresh5361 Those above scenario has been explained for AEM on-prem.(Just for your info). However, unfortunately, as I described above for AEMaaCS Content disposition filter is Not supported  - Please visit this documentation for more details: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/assets-cloud-changes.html?lang=en

 

Santosh Sai