1 Reply Latest reply on Sep 28, 2014 10:31 PM by Kutir Mobility

    Where is equivalent of RhoConfig.sources in 5.x?

    Jon Tara

      In Rhodes 2.x there is a list of database sources accessible at Rho::RhoConfig.sources. You can go from there to get e.g. schemas and schema properties.

       

      This is still supported in Rhodes 5.x, but Rho::RhoConfig is marked at a 2.2 API. The current documentation warns about "older docs" and has no mention of sources.

       

      So, we are now using an undocumented feature and relying on our project development history in continuing to use this. Basically, "it works because our old code still works and hopefully this doesn't go away."

       

      How are we supposed to be accessing this in 5.x?