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 SPA React component with datasource in dialog

Avatar

Level 2

Hi Team,

is there any sample React component that uses datasource ( having some data) to make use of in React Props

1 Accepted Solution

Avatar

Correct answer by
Employee
0 Replies

Avatar

Correct answer by
Employee

Avatar

Community Advisor

@hussains7950461 

Best way to create a datasource and use it as part of React props is to create a datapage in you site hierarchy and export the JSON of the datasource using Sling Model Exporter and use it as part of React props.

We are implementing something similar in our current implementation.

Thanks,
Nikhil