> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/loadconfigrecordbyvalue.md).

# loadConfigRecordByValue

Loads a record of a specific app config from brixxbox server by a specified field and returns a promise. This is a async function. You have to await the result, if you want to use it.

### **Parameters**&#x20;

1. configName - the name of the app
2. keyField - the search field
3. 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

```javascript
let myAddress= app.loadConfigRecordByValue("address", "adrCompanyName", "Fake Company"); 
let addressName = myAddress.data.name;
let id = myAddress.is;
```
