2 Replies Latest reply on Sep 30, 2013 11:42 AM by Steve Robinson

    Why does Rho.ORM.getModel() return an empty object sometimes in the RhoSimulator Console?

    Steve Robinson

      When trying to access the model from the console I get an empty object. But when the simulator is refreshed by clicking the refresh button, the model can be obtained. I am using

       

      Rho.ORM.getModel('ModelName') to fetch the model.

       

      What could be the problem. Does this return an object or a promise?