AddCustomTableRecords
This method inserts new records in Custom Tables.
Method Signature:
AddCustomTableRecords(CustomTableName, RowData, async, callback)
Sample Response:
{"CustomTableRecords":[{"AutoID":118,"FirstName":"f16032020",
"LastName":"l17032020","Email":"table@hcl.com","ApplicationName":"9.2"},{"AutoID":119,
"FirstName":"f2","LastName":"l2","Email":"custom@hcl.com","ApplicationName":"9.2"}]}
Parameter Details:
| Parameter Name | Type | Mandatory | Description |
|---|---|---|---|
| CustomTableName | String | Y |
Unique name of custom table for organization. It is visible under Master> Custom table menu. |
| RowData | Array | Y | It is a JSON array which has keyname and key value, e.g., [{"KeyName":"columnName","KeyValue":"ColumnValue"}] |
| Async | Boolean | N |
In case it’s False: Function will be called in synchronous mode. i.e., Current execution will wait for method execution to complete In case it’s True: Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement. |
| Callback | Function | N | User can pass function name that can be executed on completion of Parent function call. |