Changes

AJAX - API BXP2

17 bytes removed, 28 July
Parameters
strFunctionOnFail - Function to run when the API call returns unsuccessful, can be left blank.
======Example======
objParams = { blDisplayErrorText: true, intFormId: 1, strReturnFields: "strcData_1,strcData_2", strWhereClause: "strcData_3 = 'Test'",  strGroupBy strGroupBy: "",  strOrderBy strOrderBy: "",   strLimit strLimit: "1000",  strVariableToPopulate strVariableToPopulate: "aryLookupResponse",  strFunctionOnStart strFunctionOnStart: "",  strFunctionOnSuccess strFunctionOnSuccess: "console.log('Results:' + aryLookupResponse.toString());",  strFunctionOnFail strFunctionOnFail: "" 
}
fn_bxp_API_FormDataSearchV2( objParams );
strFunctionOnSuccess - Function to run when the API call returns successful, can be left blank.
strFunctionOnFail - Function to run when the API call returns unsuccessful, can be left blank.
 
======Example======
let objParams = {<br data-attributes="%20/" /> blDisplayErrorText: true,<br data-attributes="%20/" /> intFormId: 1,<br data-attributes="%20/" /> strFieldAndValueListing: { strcData_1: "Test Update" },<br data-attributes="%20/" /> strVariableToPopulate: "aryResponse",<br data-attributes="%20/" /> strFunctionOnStart: "",<br data-attributes="%20/" /> strFunctionOnSuccess: "console.log('API Insert/Update Success.');",<br data-attributes="%20/" /> strFunctionOnFail: "console.log('API Insert/Update Failed.');"<br data-attributes="%20/" /> }<br data-attributes="%20/" /> fn_bxp_API_FormDataInsertUpdateV2( objParams );
348
edits