I'm wondering why I get this error in the dev tools console when I load webappviewer/?config=config.json. Does anyone know what causes this and how to fix it please?
Solved! Go to Solution.
Removal of this line from \client\stemapp\config.json has fixed this error.
"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",
See this link for geometryService explanation: App configuration—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
Andrew,
So the url you are attempting to use is "http://dpc0159:3344/webappviewer/?config=config.json"?
This url work fine for me "http://gislap183:3344/webappviewer/?config=config.json"
Try this url and see if it returns the json "http://dpc0159:3344/webappviewer/config.json"
Hi Robert,
Yes, that URL returns the config.json successfully.
Andrew,
Does the viewer show up when you just use http://dpc0159:3344/webappviewer/
Yes.
Andrew,
Well I an clueless then... sounds like a support ticket.
Thanks for your help.
Removal of this line from \client\stemapp\config.json has fixed this error.
"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",
See this link for geometryService explanation: App configuration—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
Andrew,
OK that makes sense. I always change that url to my own geometry service.