loadRecordById

Loads a record 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 record id

Example Usages

Simple (pay attention to the await keyword)

   let myRecordId = 123;
   let myRecord = await brixxApi.loadRecordById(myRecordId);

Last updated