After today's Amazon AWS S3 outage, I'm wondering how one might go about referencing a local installation of the API through Web AppBuilder apps. Also, which version of the API would you need? Thanks.
Solved! Go to Solution.
Jay,
If you open the env.js you will see the apiURL that you can set to your own local one and the apiVersion which is the version number you will need (i.e. WAB 2.3 uses JS API 3.19).
Jay,
Even if you end up getting all the api, your map will still be on arcgis online unless you use a widget like the local layer and load all layers individually.
Ahh yes, you're right. Oh well, I suppose this happens rarely enough to not worry about it.
Jay,
If you open the env.js you will see the apiURL that you can set to your own local one and the apiVersion which is the version number you will need (i.e. WAB 2.3 uses JS API 3.19).
Thanks for the information Robert. But I suppose Rickey is right about it not mattering much if your map is hosted on AGOL (like mine are). I'm not familiar with the local layer widget, but maybe I will look into it.
My dept had thoughts along the same lines, but with a lot of webapps using an arcgis online map we decided at this point we were going to drop the issue. If this starts happening more and more we will definitively go down that road.
Robert,
I too wish to remove myself from the ESRI dependency.
I am pointing to the API locally. Removed that dependency...
Now how do I remove the "ItemID" and NOT use the WKID 102100 in the config.json?
My WKID is 102722 (3734). Ohio state plane.
Is there some code to remove or change somewhere to NOT depend on these to ESRI items and
use my Hosted Services only?
Much help would be appreciated.
Rich
Rich,
Unfortunately not. WAB is still tied internally to AGOL/Portal in a way that you can not separate it from AGOL.