Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

AEM 6.3 'AEM Form' Component

Avatar

Level 7

The 'AEM Form' component in the General category, used for embedding AEM forms on a site doesn't appear to work in AEM 6.3. It worked fine in 6.2

It shows a blank div that can't be configured and the following error in the console:

Uncaught (in promise) TypeError: Cannot read property 'getParentPath' of undefined

    at Array.ns.editables.self.getParent (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:28408:39)

    at Object.<anonymous> (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:21972:51)

    at fire (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3232:31)

    at Object.fireWith [as resolveWith] (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3362:7)

    at Object.deferred.(anonymous function) [as resolve] (http://localhost:4502/etc.clientlibs/clientlibs/granite/jquery.js:3461:36)

    at String.fwdMsg (http://localhost:4502/libs/cq/gui/components/authoring/editors/clientlibs/core.js:34086:26)

    at <anonymous>

Anyone encountered this error before and know how to fix it?

1 Accepted Solution

Avatar

Correct answer by
Level 7

I can workaround this by setting the useiframe property on the aemform component to false.

useiframe="false"

Error seems to only occur when useiframe is true (default).

This is enough to get around my problem so I will mark this as answered, if you want the form in an iframe then that looks to not work out of the box in AEM 6.3

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

I can workaround this by setting the useiframe property on the aemform component to false.

useiframe="false"

Error seems to only occur when useiframe is true (default).

This is enough to get around my problem so I will mark this as answered, if you want the form in an iframe then that looks to not work out of the box in AEM 6.3