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)
Return Values
The loadAndDisplayRecordById function returns a promise that resolves to the loaded record. The return type is a promise, and the resolved value of the promise is the loaded record. If the record cannot be loaded, the promise will resolve to null.
Last updated
Was this helpful?