Whenever I go into edit mode of the developers edition and click configure this widget under the widgets tab, all I get is a loading symbol with none of the options ever loading. They loaded before and after I added the custom widget, but now all of a sudden they no longer load. I can't determine why.
All of the regular non-sidebar controller widgets load their configurable options.
Any idea why? Thanks.
Brain,
Check your browsers web console and you will likely find an error given when you attempt to load that widgets settings page.
TypeError: Cannot read property 'version' of undefined {stack: (...), message: "Cannot read property 'version' of undefined"} "TypeError: Cannot read property 'version' of undefined
at declare._upgradeWidgetConfig (webappbuilder/stemapp/jimu.js/WidgetManager.js:536:44)
at null.<anonymous> (webappbuilder/stemapp/jimu.js/WidgetManager.js:503:25)
at https://js.arcgis.com/3.12/init.js:177:296
at k (https://js.arcgis.com/3.12/init.js:199:431)
at then.b.then (https://js.arcgis.com/3.12/init.js:202:308)
at declare.tryLoadWidgetConfig (webappbuilder/stemapp/jimu.js/WidgetManager.js:502:53)
at t.initWidgetAttr (webappbuilder/builder/js/app/main.js:197:254)
at t.init (webappbuilder/builder/js/app/main.js:192:317)
at t.startup (webappbuilder/builder/js/app/main.js:192:202)
at t._onEditWidget (webappbuilder/builder/js/app/main.js:142:177)
----------------------------------------
...
Okay. Not sure quite yet on what all of this means.
Brain,
What version of WAB are you using? Did you have a previous version that you upgraded?
1.0. Never upgraded.
Brain,
Strange. Sounds like you need to get on the phone with tech support and file a bug.
Yeah maybe. I noticed when it fails to load, switching to the foldable theme does allow the widget options to load in the configuration box, and if I switch it back to tabbed it continues to fails to load. Also if I start a new app everything is fine at first. So maybe that says something. Likely custom widget causing a bug in the app somewhere.