AEM 6.3 'AEM Form' Component | Community
Skip to main content
James_R_Green
Level 6
January 21, 2018
Solved

AEM 6.3 'AEM Form' Component

  • January 21, 2018
  • 1 reply
  • 1062 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by James_R_Green

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

1 reply

James_R_Green
James_R_GreenAuthorAccepted solution
Level 6
January 21, 2018

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