loadConfigRecordById
Loads a record of a specific app config from Gebra Suite server and returns a promise. This is a async function. You have to await the result, if you want to use it.
Parameters
configName - the name of the app
id - recordId to load
Result
The result is a Gebra Suite record object. All field values of that record are stored in data as key value pairs. (e.g. myRecord.data.addressName). The id of the record can be found in myRecord.id.
Example Usages
Simple (pay attention to the await keyword)
Return Values
The loadConfigRecordById function returns a promise. If the provided id is falsy or equal to '0', the promise resolves to null.
Last updated
Was this helpful?