Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 68

A developer wants to consume AEM Page Data in a Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components.

Which change should the developer make in the existing components to support this requirement?

    Correct Answer: C

    To enable the Single Page Application to consume AEM Page Data in JSON format while using foundation components, the best approach is to implement a Sling Model Exporter for the components. Sling Model Exporter allows the components to directly expose their data as JSON, which can be easily consumed by the application. This approach leverages the existing foundation components' infrastructure effectively and ensures that only the page content is exposed in the required format.

Discussion
AkashDOption: C

Answer is C

OlinaOption: C

don't all foundation components already have sling model exporters coded in the back-end?

heenamadanOption: C

Ans is C

chunpinOption: C

Answer: C Reference: https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/understand-sling-model-exporter.html

pgawadeOption: C

C IS ANSWER