CustomAction Type in AEM Core Form Container Component | Community
Skip to main content
rahuld77778584
Level 2
Jan 14, 2019 10:04 AM UTC

CustomAction Type in AEM Core Form Container Component

Is there a way to add custom Action Type in new AEM Core Form Container Component? We get 4 action types OOTB.  I need to add my custom servlet path in

Action Type.

Form Container Github Link : aem-core-wcm-components/content/src/content/jcr_root/apps/core/wcm/components/form/container/v2/container at master · ad…

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

7 replies

Level 3
Jan 6, 2020 10:08 AM UTC

Hi @rahuld77778584 Did you able to achieve the above requirement with core components ? it would be great if you can share the workaround that you have used.

Translate
Level 2
Jul 31, 2019 10:25 AM UTC

Check this /libs/commerce/components/actions/submitorder. You  need create sling:folder similar to that.

Translate
Gaurav-Behl
Level 10
Jan 14, 2019 2:35 PM UTC

As Scott mentioned, provide action in your html code. It would work

Check the Container model for reference -

aem-core-wcm-components/Container.java at master · adobe/aem-core-wcm-components · GitHub

Translate
smacdonald2008
Level 10
Jan 14, 2019 7:23 PM UTC

Another option you have is to use Form components under general where you can define a custom action as discussed here --

Adobe Experience Manager Help | Creating a custom action for an Adobe Experience Manager Form component

THis works fine on 6.4 -- just tested!

Translate
rahuld77778584
Level 2
Jan 15, 2019 7:12 AM UTC

Thanks!

I will look into it.

Translate
smacdonald2008
Level 10
Jan 14, 2019 1:58 PM UTC

Have you tried creating a standard form action for this?

Translate