Using SPA angular component in Experience Fragment | Community
Skip to main content
Level 3
Oct 20, 2020 8:11 PM UTC
Solved

Using SPA angular component in Experience Fragment

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.
vanegi
vanegiAccepted solution
Employee
Oct 21, 2020 11:48 AM UTC

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).

8 replies

New Participant
Aug 26, 2022 10:07 AM UTC

Hi Alisson,

Did you found a solution to above issue?

 

Thanks

Translate
Nikhil-Kumar
New Participant
Oct 21, 2020 6:45 PM UTC

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

Translate
Level 3
Oct 21, 2020 7:13 PM UTC
@nikhil-kumar I will update my AEM to this SP and send you a message when I test.
Translate
vanegi
vanegiAccepted solution
Employee
Oct 21, 2020 11:48 AM UTC

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).

Translate
Level 3
Oct 21, 2020 11:55 AM UTC
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??
Translate
Umesh_Thakur
New Participant
Oct 21, 2020 4:21 AM UTC

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

Translate
Level 3
Oct 21, 2020 11:51 AM UTC

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.

Translate