DEV Community

Discussion on: Integrating a modern frontend in a multi tenant AEM project (part 1)

 
anfibiacreativa profile image
Natalia Venditto

Hi :) No, it may take a bit. Unfortunately, it is a week with a lot of work for me ;)Thanks for being patient.

Thread Thread
 
pgangwani profile image
pgangwani

Thanks for letting me know. I can wait... :)

Thread Thread
 
pgangwani profile image
pgangwani

Hello Natalia, were you able to access the code

Thread Thread
 
anfibiacreativa profile image
Natalia Venditto

Hi Pawan. Today I had a little time to quickly take a look but your issue is not with AEM per se (as this article describes a modern yet independent to AEM Frontend Setup) but with the React implementation in the context of AEM SPA editor. So I am not sure I can help there. According to this npmjs.com/package/@adobe/cq-react-... You should be extending ResponsiveGrid and implementing something like { super.childComponents } inside of your div.

Thread Thread
 
anfibiacreativa profile image
Natalia Venditto

"Container.childComponents()
Returns the child components of this Container. It will iterate over all the items and instantiate the child components if a Mapping is found Instantiation is done my connecting the Component with the data of that item"

Thread Thread
 
pgangwani profile image
pgangwani

I tried that too , didn't work. Do you have AEM 6.5 ? Can you try and share the screen shot of console of printing child components. When I checked I got empty array. 🙄

Thread Thread
 
gopikrishna123 profile image
G.K.

@pgangwani Do you have any update on this Usecase, I have tried the same and getting CQItems as empty array, when I try to use Model to get dialog values. Please let me know if you have solution on this. thanks in advance!!