[GIS] ArcGIS Web AppBuilder widget config

arcgis-javascript-apiarcgis-web-appbuilderconfigurationjson

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 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.

Best Answer

In the Web AppBuilder for ArcGIS (Developer Edition), after modifying the configuration of the Coordinate Widget in a local application and ensuring that you've saved your work, the settings can be found/manipulated here

apps\[number]\widgets\Coordinate\config_Coordinate.json
Related Question