Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

editable templates and dynamic includes

johanr79164415
Level 2
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
smacdonald2008
Level 10
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.

jdelannoy
Level 2
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...