how to export expereince Fragment JSON to SPA Application

Avatar

Avatar
Validate 1
Level 1
annyreddy
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
annyreddy
Level 1

Like

1 like

Total Posts

19 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
annyreddy
Level 1

03-08-2020

Hi All,

 

I am using AEM 6.5 with SPA react application. I have created all my components with component exporter and I want to use some exeperence fragments in the application where FE application can read and access XF JSON.

Could you please help is it possible to export XF json to any other webapp similar to content fragment?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

03-08-2020

Hi @An,

This looks similar to that raised in thread [0] AEM 6.4 with SPA Editor - how to use the experience fragments? There is an approach mentioned for AEM 6.5 which can be used for XF where SPA app consumes JSON which is provided by content services (Sling Model Exporter) [1].

 

[0]: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-with-spa-editor-ho...

[1]: https://docs.adobe.com/content/help/en/experience-manager-learn/foundation/development/develop-sling...

 

Thanks!!

Answers (1)

Answers (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

04-08-2020

I think if you access XF using model selector with json then you can export.