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

SOLVED

Nested Sling Dynamic Include

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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!

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

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!

Avatar

Level 1
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.

Avatar

Community Advisor

@parakhmahe Sorry but there are no OOTB settings/configurations are available to make this work.

 

Thanks!