Nested Sling Dynamic Include

Avatar

Avatar

parakhmahe

Avatar

parakhmahe

parakhmahe

30-03-2021

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.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

asutosh_j3

Avatar

asutosh_j3

asutosh_j3

30-03-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!

Answers (0)