Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.5 - Content fragment component in React

hussains7950461
Level 2
Level 2

We are using AEM 6.5 with React SPA. We want to get the content fragment models data in to React as JSON.

Expectation is make use of CF models properties data to built UI.

Any inputs here? or any suitable approach here.

1 Accepted Solution
Mahamood
Correct answer by
Level 3
Level 3
3 Replies
Nirmal_Jose
Community Advisor
Community Advisor

AEM gives you the flexibility to do

1. WCMS - Page delivery

2. Headless CMS - only JSON API delivery.

3. Hybrid CMS - both JSON API and Page delivery.

Screenshot 2019-12-02 at 17.08.10.png

For SPA based CSM, you got two options

1. SPA Editor - Getting Started with SPAs in AEM - Angular

2. Custom Exporter API - You can expose a custom JSON API for the page component and expose the data on it. Overview

Hope this is useful.

Mahamood
Correct answer by
Level 3
Level 3