GetCustomTableRecordsByTableName
This method is used to get records from Custom Tables based on the Table Name.
Method Signature:
GetCustomTableRecordsByTableName(customTableName, 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 a specific organization. It is visible under Master>Custom table menu. |
| 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. |