Hi Team,
In AEM when i open a page in editor, in en.model.json i am getting all the pages but in editor i need only current page in en.model.json how to fix the issue in AEM react js
AEM cloud
React Based application
Views
Replies
Total Likes
@janaki1 , model.json provides all the components available in the page in a JSON format but not the child pages. Please refer below document on the JSON exporter
https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/dev...
https://medium.com/@toimrank/aem-sling-model-exporter-90dc872835b9
Can you please share the URL which you are trying to hit and the json output if possible?
Hii,
Like this i am getting all the pages.
file attached
Hi @janaki1 ,
Please refer this document for more details about the loading of child pages in json https://experienceleague.adobe.com/en/docs/experience-manager-learn/getting-started-with-aem-headles...
Hi @sravs,
If i change at template level the change which i have made will change in publish mode as well. But i need to change only in page editor mode.
When i am trying to edit my aem page in en.model.json i need only single instead of getting all the pages in editor mode i need only that (single) page to be called in en.model.json.
@janaki1 Did you find the suggestions helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes