APEX Server Process | apex.server.process | Namespace:server

Namespace:server

How to use apex.server.process?

 Create an ajax callback process then try out process function to call it.

Basic syntax

(namspace) process(pName, pDataopt, pOptionsopt) → {Promise}
apex.server.process("PROCESS_NAME", {
    x01: "test",
    f01:  < array_variable > ,
    pageItems: "#P1_ITEM1,#P1_ITEM2"
}, {
    dataType: 'text',
    success: function (data) {
 // do something here
 // data is return from this call
    },
    error: function( jqXHR, textStatus, errorThrown ) {
        // handle error
  }
});


Properties

  • pageItems:
  • x variables: These are single value holder variables, and varies from 01 to 20
  • f variables: These are array type variables, and varies from 01 to 20
  • dataType: This is return type declaration from ajax. Default value for it is json

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *