4 Replies Latest reply on Dec 11, 2015 12:38 PM by Chris Child

    Config API

    Chris Child

      I'm trying my best to get this API to work with version 5.3.2 but the documentation for it is very bare. I am trying to test this out through the Rho Simulator using the Win32 platform.

       

      My imports and the usage are below. As there does not seem to be any notes about this I believed that this was taking over from the old RhoConfig API hence why I'm looking for start_path. If this is also not the case please let me know.

       

           <script type="text/javascript" charset="utf-8" src="/public/api/rhoapi-modules.js"></script>

          <script type="text/javascript" charset="utf-8" src="/public/api/rhoapi-modules-ORM.js"></script>

          <script type="text/javascript" charset="utf-8" src="/public/api/rhoapi-modules-ORMHelper.js"></script>

          <script type="text/javascript" charset="utf-8" src="/public/api/rhoapi-modules-Ruby-RunTime.js"></script>

          <script type="text/javascript" src="/public/jquery/jquery-1.9.1.min.js"></script>

          <script type="text/javascript">

            

              $(document).ready(function() {

                  console.log(Rho.Config.getPropertyString("start_path"));

              });

       

      I've tried putting "config" into the extensions of my build.yml as well but that made no change.

       

      A quick note, I did just update from 5.0.25.