Helper Functions for Callback Functions

The following describes the helper functions that are available for callback functions.

Table Helper Functions for Callback Functions

Method Name Return Type CRUD Operations Description Sample Code

getRowId()

row ID

Create, read, update

Gets the row ID of the record in the response object.

var rowID = response.getRowId();

getModId()

mod ID

Create, Read, Update

Gets the mod ID of the record in the response object.
var modId = response.getModId();

getFieldValue (fieldName)

Field value

Read

Gets the field value of the corresponding field name passed in the function.
var desc = response.getFieldValue
("Description");