AEM SPA | Exclusion of Child Page Content | Community
Skip to main content
Level 2
September 19, 2024

AEM SPA | Exclusion of Child Page Content

  • September 19, 2024
  • 2 replies
  • 808 views

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.

 

Regards

Bishnu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
September 19, 2024

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/project/core/internal/impl/utils/HierarchyUtils.java

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
Level 2
September 30, 2024

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.

kautuk_sahni
Community Manager
Community Manager
September 25, 2024

@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
Level 2
September 30, 2024

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