Skip to main content
Level 4
Mar 21, 2022 6:10 AM UTC
Solved

AEM Form Component - Custom Action Type

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. 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
lukasz-m
lukasz-mAccepted solution
Community Advisor
Mar 21, 2022 7:43 AM UTC

Hi @tessa_learner1, please have a look on following comment in different thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/form-core-component-submission-using-custom-action-type/m-p/438243/highlight/true#M125129 - I have described there step by step (with code example) what needs to be done to add new Action Type.

3 replies

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
Mar 21, 2022 7:43 AM UTC

Hi @tessa_learner1, please have a look on following comment in different thread https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/form-core-component-submission-using-custom-action-type/m-p/438243/highlight/true#M125129 - I have described there step by step (with code example) what needs to be done to add new Action Type.

Translate
Level 4
Mar 23, 2022 6:47 AM UTC

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 ?

Translate