AEM 5.6.1 Retrieve html from dam inside a component for render | Community
Skip to main content
October 17, 2017
Solved

AEM 5.6.1 Retrieve html from dam inside a component for render

  • October 17, 2017
  • 2 replies
  • 1178 views

Is it possible to save a set of html files in dam and make a component that can choose and render one of them?

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 smacdonald2008

Not a typical use case. Typically images and videos are stored in the DAM. However - there is nothing preventing you from storing HTML files in the DAM and have a component read the HTML located in a file and render it. Just a very unusual use case.

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 17, 2017

Not a typical use case. Typically images and videos are stored in the DAM. However - there is nothing preventing you from storing HTML files in the DAM and have a component read the HTML located in a file and render it. Just a very unusual use case.

October 18, 2017

How can i do it if i have to get the code from inside a component and make it draggable. So far i've tried to acces the html properties using ResourceResolver without success.

Thank you.