AEM 6.5 - Content fragment component in React

hussains7950461

30-11-2019

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.

Answers (2)

Answers (2)

Nirmal_Jose

MVP

02-12-2019

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.