Hi Experts,
I am trying to change the model configuration specifically the uri dynamically when the app is tested locally on eclipse and when it is moved to cloud platform. I want to test the application on local with the services deployed on local and then if everything is fine then move it to the cloud platform. I am using Neo platform for both back-end and front-end.
I tried changing the manifest.json file dynamically but that didn't work. Then I initialized the model with two different configurations on the basis of a hard coded variable in the component.js file and it worked. But, I don't know how to do that dynamically as in changing the uri on the basis of if the application is being deployed on local or on cloud platform.
Any idea how to do it or if I am approaching this in the right direction or not. Any help would be much appreciated.