Client API ReferenceEventsonRecordLoadonRecordLoad console.log("loading a record"); if(a != b){ return false; //cancel the load }