JSON data of a page using service | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
BrianKasingli
BrianKasingliAccepted solution
New Participant
Dec 21, 2021 4:22 AM UTC

@shaheena_sheikh, if you are using the WCM Core Components V2 Page component, and your components are Sling Models, and are configured to export properties and values (based on some Java annoatations), please take a look at AEM's content exporter service; when you replace .html with .model.json, you will get a JSON representation of your entire page. https://experienceleague.adobe.com/docs/experience-manager-64/developing/components/json-exporter.html?lang=en

 

2 replies

BrianKasingli
BrianKasingliAccepted solution
New Participant
Dec 21, 2021 4:22 AM UTC

@shaheena_sheikh, if you are using the WCM Core Components V2 Page component, and your components are Sling Models, and are configured to export properties and values (based on some Java annoatations), please take a look at AEM's content exporter service; when you replace .html with .model.json, you will get a JSON representation of your entire page. https://experienceleague.adobe.com/docs/experience-manager-64/developing/components/json-exporter.html?lang=en

 

Translate
SantoshSai
New Participant
Dec 20, 2021 11:03 PM UTC

Hi @shaheena_sheikh 

 

Kindly go through this documentation, I'm sure you'll get your answer

https://experienceleague.adobe.com/docs/experience-manager-65/developing/components/pageinfo.html?lang=en

Regards,

Santosh

Translate
Santosh Sai