# loadRecordById

Loads a record 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. This function will not display the record, it will just load and return it. To display the record, use the function result with [displayRecord](https://gebra-it.gitbook.io/wiki/client-api-reference/functions/displayrecord).

## Parameters

The first parameter is a record id

## Example Usages

Simple (pay attention to the **await** keyword)

```javascript
let myRecordId = 123;
let myRecord = await app.loadRecordById(myRecordId);
```

### Return Values

The loadRecordById function returns the result of fetching and processing a record with the specified ID.
