Hey All, i'm new to the oracle communities and in my second week trying to learn APEX (19.2).
I'm trying to wire up an AJAX Callback process to insert a new record into a table. I am able to get the ajax request to work if I list all the form fields in a pageItems object as specified in the JSDoc API, but was hoping there was an easier way to serialize all the form fields at the region level at once similar to jQuery's .serialize method.
I tried to specify a static id for the region ("user-info-form") and then use the following javascript:
let request = apex.server.process("PROCESS_USER_INFO", {
"regions": [ {
"id": "user-info-form,
}]);
I didn't have much luck with this. No data is being sent when looking at the request via the browser dev tools. I'm sure I am missing something obvious, but been struggling for last day trying to pinpoint it. Appreciate any help.