Expand my Community achievements bar.

Embedding AEM 6.5 Adaptive Form on AEM 6.2 sites

Avatar

Level 3

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

6 Replies

Avatar

Employee Advisor

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.

Avatar

Level 3

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

Avatar

Employee Advisor

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

Avatar

Level 2

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.

Avatar

Level 2

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.