Expand my Community achievements bar.

SOLVED

Using SPA angular component in Experience Fragment

Avatar

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

Avatar

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

8 Replies

Avatar

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

Avatar

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.

Avatar

Correct answer by
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).

Avatar

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

Avatar

Community Advisor

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

Avatar

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

Avatar

Level 3
@Nikhil-Kumar I have updated AEM 6.5 to SP 6.5.6 but it still isn't working.

Avatar

Level 1

Hi Alisson,

Did you found a solution to above issue?

 

Thanks