Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Core Form Container EndPoint value not submitted

Avatar

Employee

Hi All,

 

As seen below I create a test core form container to POST Form Data to a external endpoint:

sssaadw_0-1709130407686.png


However when I go to preview the page I cannot see the external endpoint instead the only forms post visible is one directing to the page I sent it from:

sssaadw_1-1709130466848.png

 

 

Shouldn't this value show action="https://httpbin.org" ?

 



Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Community Advisor

Hi @sssaadw,

This is correct behavior. In general every action run from Core From Container is handled in the background. So this means call to your custom endpoint will not be send directly but will be done on server side via HttpClient.

Please refer to following topics, I have described there in details flow how Core Form is working with reference to specific classes etc

This should give you better understanding how Core Form has been designed.

Avatar

Employee

Hi Lukasz,

 

Thanks for the explanation but do we have any official documentation or tutorial for creating a form using the core form container?

 

Thanks,

Sandeep

 

 

Avatar

Correct answer by
Community Advisor

Hi @sssaadw, I am not aware about anything that will describe this in very detailed way to be included in official documentation.

I believe this is what you can find in official materials (I guess you probably know this):