Expand my Community achievements bar.

SOLVED

How can I include layout container in a component in AEM SPA project implemented in React?

Avatar

Level 1

I would like to include Layout container inside a component to allow other components to be added dynamically within the component. How can I achieve this when the component also has its own dialog and the internal components also need to be editable. This was pretty easy to do outside SPA but unable to find a solution using SPA.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You need to write the java code to allow custom container similar to core components, example

https://github.com/arunpatidar02/aemaacs-spa-aemlab/pull/2/commits/16678e231d1a69815e9e8c387e3fad400... 

 

 



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

You need to write the java code to allow custom container similar to core components, example

https://github.com/arunpatidar02/aemaacs-spa-aemlab/pull/2/commits/16678e231d1a69815e9e8c387e3fad400... 

 

 



Arun Patidar