+

Search Tips   |   Advanced Search

Implementing adapter procedures

Implement a procedure in the adapter XML file, using an appropriate signature and any return value.

We have declared a procedure in the adapter XML file, using a <procedure> tag.

Implement the procedure in the adapter JavaScript file. The signature of the JavaScript function that implements the procedure has the following format:

Where:

In the JavaScript code, we can use the MobileFirst server-side JavaScript API to access back-end applications, invoke other procedures, access user properties, and write log and debug lines.

We can return any value from your function, scalar or object.


Parent topic: Develop the server side of a MobileFirst application