Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Using SPA angular component in Experience Fragment

alissonxavier01
Level 3
Level 3

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.

 

alissonxavier01_0-1603224645202.png

 

1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

Please check this thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-with-spa-editor-ho...

 

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

View solution in original post

7 Replies
Umesh_Thakur
Community Advisor
Community Advisor

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

alissonxavier01
Level 3
Level 3

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
Correct answer by
Employee
Employee

Please check this thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-6-4-with-spa-editor-ho...

 

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

View solution in original post

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

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

alissonxavier01
Level 3
Level 3
@Nikhil-Kumar I will update my AEM to this SP and send you a message when I test.