Using SPA angular component in Experience Fragment | Community
Skip to main content
New Participant
October 20, 2020
Solved

Using SPA angular component in Experience Fragment

  • October 20, 2020
  • 4 replies
  • 3591 views

Hi Guys,

 

Anyone has an example how could I use a SPA angular component in Experience Fragment?

 

I am trying to include some SPA angular components in Experience Fragment but when I include in it I was impossible to render the component content.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vanegi

Please check this thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-with-spa-editor-how-to-use-the-experience-fragments/qaq-p/322742

 

Experience Fragments are not yet supported(6.4 and below) in the SPA Editor. That being said, 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).

4 replies

New Participant
August 26, 2022

Hi Alisson,

Did you found a solution to above issue?

 

Thanks

Nikhil-Kumar
New Participant
October 21, 2020

@alissonxavier01  - I think XF with SPA is supported from AEM 6.5 SP5. Can you try with SP5 once ?

New Participant
October 21, 2020
@nikhil-kumar I will update my AEM to this SP and send you a message when I test.
vanegi
vanegiAccepted solution
Employee
October 21, 2020

Please check this thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-with-spa-editor-how-to-use-the-experience-fragments/qaq-p/322742

 

Experience Fragments are not yet supported(6.4 and below) in the SPA Editor. That being said, 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).

New Participant
October 21, 2020
Hi @vanegi, I was using 6.5 version. I took a look in this topic. In this case they are trying to use XF component in the page. In my case I was trying to create a XF and insert in it my SPA components. Could you understand the difference??
Umesh_Thakur
New Participant
October 21, 2020

Can you once check, is there any error in browser console or in error log. it will give some insight, what is going on.

Regards

Umesh Thakur

New Participant
October 21, 2020

Hi @umesh_thakur, There isn't any error in browser console or in the log. I believe that the problem is because XF isn't providing JSON to SPA component consume.