Nested Sling Dynamic Include | Community
Skip to main content
March 31, 2021
Solved

Nested Sling Dynamic Include

  • March 31, 2021
  • 1 reply
  • 1132 views

Hi,

 

We used a container component, which loads via SDI (server side include), it works fine till we drop normal AEM components inside it.

 

However, the child component does not load in case of 2 parent SDI container components.

 

Steps :-

1) Add Layout container (with SDI) 

2) Add another layout container (with SDI)

3) Add plain text (or any component)

 

The plain text now, does not load.

 

Can you help please.

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

Hi @parakhmahe 

Can you try something like below:

 

Move the 2nd Layout container (SDI) and Text component into an Experience Fragement (XF) and then create the content.

Now on the main content page keep one of the Layout Container (SDI) and then configure a XF Component inside it by providing the XF Path that was created above and see if it works.

 

Thanks!

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
March 31, 2021

Hi @parakhmahe 

Can you try something like below:

 

Move the 2nd Layout container (SDI) and Text component into an Experience Fragement (XF) and then create the content.

Now on the main content page keep one of the Layout Container (SDI) and then configure a XF Component inside it by providing the XF Path that was created above and see if it works.

 

Thanks!

March 31, 2021
Was wondering if nested SDI is not allowed by design by Adobe. Is there a OOB setting to enabled or done to make this work.