Expand my Community achievements bar.

AEM SPA | Exclusion of Child Page Content

Avatar

Level 2

Hi Team

 

We are using AEM SPA.

Since the size of the root page is large, a customization to OOTB com.adobe.aem.spa.project.core.models.Page getExportedChildren () has been done to exclude the child pages' content.

And this works on the Publish pages, however we would need to do the same for the author instances. Could you please help me in understanding what tweaking needs to be done.customization.jpeg

 

Regards

Bishnu

4 Replies

Avatar

Community Advisor

Hi @bishnu_satpathy_tcs 
You can check the code here : https://github.com/adobe/aem-spa-project-core/blob/master/core/src/main/java/com/adobe/aem/spa/proje...

Repo: https://github.com/adobe/aem-spa-project-core/tree/master 

 

Maybe you need to write your own implementation as you did and add PageFilter or remove items from maps once got the decendentModels

 



Arun Patidar

Avatar

Level 2

Thanks a lot @arunpatidar for your prompt response. we are going through the suggestion. will request for further help, if we get blocked in implementation.

Avatar

Administrator

@bishnu_satpathy_tcs Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 2

Hi @kautuk_sahni 

 

We are yet to arrive at a conclusion/solution for this issue on our project.

seems to be the answer, but as i mentioned, still looking for a solution.

thanks for the prompt response from the community.

 

Regards

Bishnu