GetCustomTableRecordswithCamelcase
This method is used to get records from customtable. The table columns are appearing as provider which user has provided while creating the custom table. Users need to ignore camelcase of Custom Table Column Value by passing optional parameter i.e. camelCase = false.
By default, this value will be passed as true. User has to explicitly pass this value to ignore the camel case.
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. |
| addlParam | Function | N | User can pass function name that can be executed on completion of Parent function call. |
| camelCase | Function | N | User can pass function name that can be executed on completion of Parent function call. |