WAB Won't Load

2463
3
Jump to solution
05-12-2016 07:04 AM
BrianO_keefe
Occasional Contributor III

So I'm getting this error...

2016-05-12_085712.png

Any ideas?

0 Kudos
1 Solution

Accepted Solutions
BrianO_keefe
Occasional Contributor III

Found it! In stemapp/config.json I made a change to the "geometryService" to try to default it to ours.

So on line 18 where it says the following:

"isWebTier": false,

"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",

"links": [{
  "label": "ArcGIS Online",
  "url": "//www.arcgis.com"
}],

I changed it to look like this:

"isWebTier": false,

// "geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",
"geometryService": "http://maps.cityoftulsa.org/gis/rest/services/Utilities/Geometry/GeometryServer ",

"links": [{
  "label": "ArcGIS Online",
  "url": "//www.arcgis.com"
}],

So once I changed it back I had no issues.

I wish there was some location OUTSIDE of the general directory where I could place a settings file and it would AUTO-include those settings for all WAB's even after updates.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Brian,

  What does the config.json look like for this app?

BrianO_keefe
Occasional Contributor III

This is just the window I get when I load the WAB. Not a specific app.

0 Kudos
BrianO_keefe
Occasional Contributor III

Found it! In stemapp/config.json I made a change to the "geometryService" to try to default it to ours.

So on line 18 where it says the following:

"isWebTier": false,

"geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",

"links": [{
  "label": "ArcGIS Online",
  "url": "//www.arcgis.com"
}],

I changed it to look like this:

"isWebTier": false,

// "geometryService": "http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer",
"geometryService": "http://maps.cityoftulsa.org/gis/rest/services/Utilities/Geometry/GeometryServer ",

"links": [{
  "label": "ArcGIS Online",
  "url": "//www.arcgis.com"
}],

So once I changed it back I had no issues.

I wish there was some location OUTSIDE of the general directory where I could place a settings file and it would AUTO-include those settings for all WAB's even after updates.

0 Kudos