Using SPA angular component in Experience Fragment | Adobe Higher Education
Skip to main content
Level 3
October 20, 2020
Beantwortet

Using SPA angular component in Experience Fragment

  • October 20, 2020
  • 4 Antworten
  • 3597 Ansichten

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.

 

 

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antworten

Umesh_Thakur
Community Advisor
Community Advisor
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

Level 3
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.

vanegi
Adobe Employee
vanegiAdobe EmployeeAntwort
Adobe 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).

Level 3
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??
Nikhil-Kumar
Community Advisor
Community Advisor
October 21, 2020

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

Level 3
October 21, 2020
@nikhil-kumar I will update my AEM to this SP and send you a message when I test.
August 26, 2022

Hi Alisson,

Did you found a solution to above issue?

 

Thanks