http://localhost:4502/editor.html/content/we-retail/us/en/experience.html
The following illustration shows the image component.

You can use a Sling Model Exporter to get component details that are returned within JSON, as shown in the following illustration.

To invoke the Sling Model Exporter, you can use this URL:
http://localhost:4502/content/we-retail/us/en/experience/jcr:content/root/responsivegrid/heroimage.model.tidy.json
The data is retrieved from the AEM JCR located here:
/content/we-retail/us/en/experience/jcr:content/root/responsivegrid/heroimage
The following illustration shows this node.

You can create a Sling Model Exporter by using Java APIs located in the org.apache.sling.models.annotations package.
To read this development article, click https://helpx.adobe.com/experience-manager/using/aem63_sling_model_exporter.html.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.