Sling Dynamic Include (SDI) for components rendered from iparsys in AEM is not working | Community
Skip to main content
Level 2
July 16, 2021
Question

Sling Dynamic Include (SDI) for components rendered from iparsys in AEM is not working

  • July 16, 2021
  • 1 reply
  • 1052 views

We are using sling dynamic include

Let's say there are 12 components on the page
A. 1 header - dynamic data component (A.a - 2 more components with dynamic data included using data-sly-resource in sightly/HTL)
B. 1 footer - static data
C. 4 dynamic data component
D. 4 static data component

I've configured 5 components in SDI configuration (A & C)
I've not configured SDI with (B & C - not required)
I've configured only configured 1 of the 2 components in (A.a) - hit & trial process to identify if adding child components separately in SDI is required or not. - Not working in either case.

I've 2 issues here -
Issue 1 - Component A (header) is configured on the homepage and is flowing down to my current page using - iparsys. Hence SDI is not working for this component. Data rendered is not dynamic and coming from cache.
How to get components coming from iparsys as dynamic with the help of SDI?

Issue 2 - How to get dynamic data in these 2 Components in (A.a)? Considering that -
first - these are child components to a component
second - these are child components to a component in iparsys


Please consider that - I've already implemented steps as per the adobe documentation - https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-sling-dynamic-include.html?lang=en 
Other forums - https://stackoverflow.com/questions/68401728/sling-dynamic-include-sdi-for-components-rendered-from-iparsys-in-aem-is-not-w 

The previous query was also resolved - https://stackoverflow.com/questions/68184363/sling-dynamic-include-not-working-for-multiple-components  - So task accomplished until this step

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Level 2
April 14, 2023

Have you got any solution for this issue? We are facing same kind of issue.