Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Remote SPA - component not rendered on AEM page

Avatar

Level 2

Hello,

 

We have set up Remote Spa by following:

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s...

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 

 

On React App, the result looks like:

learningNeverStops_0-1689915371658.png

 

But, in AEM

 

learningNeverStops_0-1689921086700.png

 

 

 

Error in log: 21.07.2023 10:27:39.484 *ERROR* [[0:0:0:0:0:0:0:1] [1689915459446] GET /editor.html/content/wknd-app/us/en/home.html HTTP/1.1] com.adobe.cq.msm.ui.servlet.IsSourceRenderCondition path /content/wknd-app/us/en/home.html to check render condition is not valid

 

Requesting guidance on how to resolve this

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Do you see any errors in the browser console? Usually, that may be caused by 2 reasons:

1.  The resourceType of the page/components was not updated, if so, refer to this section https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 

2. CORS are not set correctly, if so, refer to this section: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 



Esteban Bustamante

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Do you see any errors in the browser console? Usually, that may be caused by 2 reasons:

1.  The resourceType of the page/components was not updated, if so, refer to this section https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 

2. CORS are not set correctly, if so, refer to this section: https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-with-aem-headless/s... 



Esteban Bustamante