loadConfigRecordByValue
Parameters
- configName - the name of the app
- keyField - the search field
- value - value to search for
Result
The result is a brixxbox record object. All fieldvalues 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 usage
let myAddress= app.loadConfigRecordByValue("address", "adrCompanyName", "Fake Company");
let addressName = myAddress.data.name;
let id = myAddress.is;