I have aem 6.5 + react spa project . I have several child pages under /en/ page, but when I am trying to load /content/<project>/en.model.json ,I am unable to get :children object in the json . What can be the issue here?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @raviranjan,
It seems there is confusion in understanding, page_name.model.json is not giving any details about the child pages but it provide the details about the authored components and its data on the page.
For child pages details you need to use any other mechanisms like servlet an all.
See the below article for the purpose:
Hope this will help.
Umesh Thakur
Hi @raviranjan,
It seems there is confusion in understanding, page_name.model.json is not giving any details about the child pages but it provide the details about the authored components and its data on the page.
For child pages details you need to use any other mechanisms like servlet an all.
See the below article for the purpose:
Hope this will help.
Umesh Thakur
Hi @raviranjan,
Can you let know the SPA Project core version you are using.
Also, cross check if Adobe CQ JSON Exporter bundle is active and your SPA project code base is importing the same(As evident from Imported Packages section of your SPA project bundle) and resolved correctly to it.
To be specific, this method from HierarchyNodeExporter - https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/co...
is responsible for :children in root page model response of SPA project/page created using SPA root page template.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies