brixxbox Wiki
Search
⌃K

loadAndDisplayRecordById

Loads a record, based on the value in the control, given as a parameter in the first argument and displays it. This function just combines loadRecordById and displayRecord displayRecord

Example Usages

Simple (pay attention to the await keyword)
let recordId = 123;
brixxApi.loadAndDisplayRecordById(recordId);
await brixxApi.loadAndDisplayRecordById(recordId);