Highlighted

editable templates and dynamic includes

johanr79164415

11-10-2018

Hi,

We have created an editable template with some components added to it.

Some of these components should not be cached, so we added the resourcetypes of these components to the SDI configuration.

The problem is that the components are still cached, when we create a page of this template.

Debugging the includeFilter shows that the dynamic include configuration is not loaded, because the resourcetype of the component is never matched in the code (only the resourcetype of the surrounding responsive grid is)

When we add the components directly to the page, the dynamic include does work.

Thanks for the help.

Replies

Highlighted

smacdonald2008

11-10-2018

AFter talking to internal ppl - it .seems that Sling Dynamic Include were not designed with Editable Templates in mind. You may need to include these components at the page level.

Highlighted

jdelannoy

11-10-2018

Isn't this a bug?  I mean, it looks like the responsive grid is not including it's child components in the usual way...