loadRecord

Loads a record, based on the current config, from brixxbox server and returns a promise. This is a async function. You have to await the result, if you want to use it. This function will not display the record, it will just load and return it. To display the record, use the function result with displayRecord.

Parameters

The first parameter is a control with the key value, that will be used to find the record (like an address number)

Example Usages

Simple (pay attention to the await keyword)

   let myRecord = await brixxApi.loadRecord("myKeyControl");

Last updated