Leiste mit Community-Erfolgen erweitern.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

how to export expereince Fragment JSON to SPA Application

Avatar

Community Advisor

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?

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Employee

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!!

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten

Avatar

Korrekte Antwort von
Employee

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!!

Avatar

Community Advisor

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

Arun Patidar

AEM LinksLinkedIn

Avatar

Community Advisor
Yes. If add model.json i can see the json for expereince fragment. how to access this json at react SPA application. Do I need to customize react component as mentioned above post?