Expand my Community achievements bar.

editable templates and dynamic includes

Avatar

Level 2

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.

2 Replies

Avatar

Level 10

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.

Avatar

Level 2

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