AnsweredAssumed Answered

ArcGIS WebAppBuilder widget config

Question asked by rwelikal on Oct 6, 2014
Latest reply on Oct 7, 2014 by rwelikal

I downloaded a webapp builder template (javascript) that I've placed on my own web server and is running fine. However, I am not able to modify the widgets in the config.json file to the settings that I want. For instance, I want the "Coordinate" widget to have meters instead of feet, however, when I adjust the config.json file in the widget file, these changes aren't reflect. Has anyone encountered this issue? I may be doing it all wrong so if someone can point me in the right direction, that would be much appreciated. I read the webapp builder documentation (http://doc.arcgis.com/en/web-appbuilder/extend-apps/coordinate.htm) but can't seem to figure it out.

This is the json in the current config file (for the app itself, not just the widget):

  { "label": "Coordinate", "uri": "widgets/Coordinate/Widget", "position": { "left": 200, "bottom": 20 }, "config": {} }

This is the json in the widget config file:

{ "outputunit": "dms", "spatialReferences": [] }

The latter says DMS but the units still show up as feet.

Anyway, any help would be appreciated.

Thank you

Outcomes