Highlighted

Embedding AEM 6.5 Adaptive Form on AEM 6.2 sites

Avatar

Avatar

rubenf42159101

Avatar

rubenf42159101

rubenf42159101

25-07-2019

Hi,

We are trying to embed AEM 6.5 Adaptive forms on AEM 6.2 Sites page. We followed the Adobe documentation provided [1]. We are able to load the adaptive form using ajax call but not the related assets and resources (JS, CSS, themes). Please find the attached screenshot for browser console error.

1799450_pastedImage_0.png

Does anyone face the same issue? Any solution will be of great help.

1 - https://helpx.adobe.com/experience-manager/6-5/forms/using/embed-adaptive-form-external-web-page.htm...

Thanks,

Ruben

Replies

Highlighted

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

25-07-2019

Hi, Are you trying to connect two different servers of AEM and forms? I see a different version of AEM and forms being used here.

Highlighted

Avatar

Avatar

rubenf42159101

Avatar

rubenf42159101

rubenf42159101

25-07-2019

Hi, We have adaptive forms developed on AEM 6.5. We want to embed this adaptive form in AEM 6.2 Sites page which is running in a different server. For this, we have followed the Adobe documentation [1].

[1] - https://helpx.adobe.com/experience-manager/6-5/forms/using/embed-adaptive-form-external-we b-page.htm

Highlighted

Avatar

Avatar

Mayank_Gandhi

Employee

Avatar

Mayank_Gandhi

Employee

Mayank_Gandhi
Employee

30-07-2019

Are you able to access the Js and CSS file directly via browser?

Highlighted

Avatar

Avatar

Sudharsan_Selv1

Avatar

Sudharsan_Selv1

Sudharsan_Selv1

06-08-2019

Hi - Sample Jquery code snippet doesn't work as the way how it was in documentation link and customization required on Jquery code as well on the DOM response to rewrite with absolute links. Would suggest to use iframe approach as alternative solution.

Avatar

Avatar

workflowuser

Employee

Avatar

workflowuser

Employee

workflowuser
Employee

07-08-2019

Have you set up the reverse proxy?

Highlighted

Avatar

Avatar

Sudharsan_Selv1

Avatar

Sudharsan_Selv1

Sudharsan_Selv1

13-08-2019

Hi - the link that you are referring is intended to embed form in external website (non-aem website) and for your case, iframe approach is ideal one.