rmtFs.addEventListener("modelfind", function(e){ if (e.resource.indexOf("dashboard") > -1) return mdlDashboard; else if (e.resource.indexOf("101") > -1) return mdlFs; }); if (apf.isIE) myPersist.connect('jane@campell.com', 'geheim');//, 'rdb://worknets.com/101'); else myPersist.connect('jharrison@bi.nl', '101', 'rdb://worknets.com/101'); setTimeout(function(){ //Test change //mdlFs.setQueryValue("status", "Working hard " + new Date().getTime()); //Test create myPersist.create("rdb://worknets.com/worknet", function(data){ apf.console.log("RECEIVED: " + data); myPersist.join(data); }); //Test logout //myPersist.disconnect(); }, 1000);