Expand my Community achievements bar.

SOLVED

AEM 6.5 - Content fragment component in React

Avatar

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

Avatar

Correct answer by
Level 3
3 Replies

Avatar

Employee 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.

Avatar

Correct answer by
Level 3