Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AEM Form Component - Custom Action Type

Avatar

Level 5

Hello, 

Is there any way to create custom action type in AEM form container. Currently it has the following options but I wanted to add one extra field like payload using API call. Also Is there any document, to refer how to create custom action type and how to make API call with the form data. I want to do this with form component not with Adaptive form. 

VanithaB1_0-1647843017151.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Tessa_learner1, please have a look on following comment in different thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/form-core-component-submis... - I have described there step by step (with code example) what needs to be done to add new Action Type.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Tessa_learner1, please have a look on following comment in different thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/form-core-component-submis... - I have described there step by step (with code example) what needs to be done to add new Action Type.

Avatar

Level 5

Hi @lukasz-m  Thank you. I have added the custom action type. I just want to call third party API to get the form details and send success or failure message according to that. Can you help me regarding it ?