Hi Team,
We need to do customization out of box JSON response of an AEM Page.
http://localhost:4502/content/wknd/language-masters/en/magazine/jcr:content.-1.tidy.infinity.json
How to can achieve the above JSON format by using a custom service?
Thanks
Kotireddy
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @kotireddy4b1 ,
I have explained this here. Hope it helps.
Code - https://github.com/riteshmittal/slingexporterusecase
Hey! I think what you're looking for is the Sling Model Exporter. With it, you can define a Sling Model with the properties you want to expose, that is then available by browsing to your-page.model.json.
Hi @kotireddy4b1 ,
I have explained this here. Hope it helps.
Code - https://github.com/riteshmittal/slingexporterusecase
Please check below article :
http://www.sgaemsolutions.com/2017/06/sling-model-exporter-in-aem-63.html
Hi, what sort of customization you want to do.
I would suggest a proxy servlet approach to filter out model.json response using custom servlet.
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies