Highlighted

inject ".html" file from dam

balajik

25-04-2018

Hi ,
We are trying to inject ".html" file from dam to page. We have created path field to select dam path in component dialog. But when we include file either using slightly resource tag or slightly include tag, data comes empty in view source. Could you please help us to get html file data from dam on page using slightly.

Thanks in advance!

Replies

Highlighted

smacdonald2008

25-04-2018

Content fragments are the best way to proceed here. Storing HTML in the DAM is not considered best practice when you want to display content. See this topic: Page Authoring with Content Fragments