CustomAction Type in AEM Core Form Container Component | Community
Skip to main content
rahuld77778584
Level 2
January 14, 2019

CustomAction Type in AEM Core Form Container Component

  • January 14, 2019
  • 4 replies
  • 13251 views

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.

4 replies

smacdonald2008
Level 10
January 14, 2019

Have you tried creating a standard form action for this?

Gaurav-Behl
Level 10
January 14, 2019

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

smacdonald2008
Level 10
January 14, 2019

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!

rahuld77778584
Level 2
January 15, 2019

Thanks!

I will look into it.

Level 2
July 31, 2019

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

Level 3
January 6, 2020

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.