Video: Using apex.server.process for AJAX calls in APEX

apex.server.process
If you’re just getting started understanding AJAX and Dynamic Actions, I recommend you watch my “Getting Started with AJAX” video first.
This video is the next installment. Alexis Galdamez and I get into the weeds talking about apex.server.process
We cover how you can evolve from declarative Dynamic Actions to programmatic JavaScript AJAX calls.
Here’s the basic template call we cover during the video:
We also cover the OCT Table Column Re-orderer and how to use apex.oracle.com/jsapi to get to the JS API documentation from APEX.
Prefieres contenido en español? Aquí esta el mismo contenido en el canal de Alexis
Hi,
In the apex.server.process().then().then() method to call synchronously, how do you handle error and always methods as in .success, .error, .always?
Thanks,
VP
Very good question. Promises also implement calls like reject and resolve. I think this link has an interesting approach: https://stackoverflow.com/questions/20714460/break-promise-chain-and-call-a-function-based-on-the-step-in-the-chain-where-it
You could also control flow/execution with some global variables that track success or failure.
thank you
Hi Jorge,
I am using 19.1
How do you pass CLOB values using apex.server.process?
Thanks,
Veerendra.