April 14, 2020
Estimated Post Reading Time ~

Exporting Adobe Experience Manager Data 6.4 Using Sling Model Exporters

You can create an Experience Manager Sling Model Exporter to export Experience Manager data as JSON. You can invoke a Sling Model Exporter by using an HTTP Restful call and get back data. For example, assume that you want to get details of an image component located in the We Retail site:

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

To read this development article, click:
https://helpx.adobe.com/experience-manager/using/aem64_sling_model_exporter.html


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.