Is true if the brixxApi is currently loading and displaying a record. Can be useful in an onChange event to tell the diffenrece beween a loaded value and a value that has ben set by the user or any other event.
Example Usages
In an onChange Event
if(brixxApi.isLoadingRecord){console.log("app is loading a record"); }else{console.log("app is not loading a record"); }
record
Represents the current record, if a record is loaded, otherwise it will return null.
Example Usages
Assuming the current app has a control with the id adrName
if(brixxApi.record){console.log("the current record id is: "+brixxApi.record.id);console.log("hello: "+brixxApi.record.data.adrName); }else{console.log("sorry, no record loaded"); }
userId
Readonly variable, that returns the email address of the current user.
Example Usages
console.log(brixxApi.userId);
recordId
Represents the id of the current record, if a record is loaded, otherwise it will return null.
Example Usages
if(brixxApi.recordId){console.log("the current record id is: "+brixxApi.recordId); }else{console.log("sorry, no record loaded"); }