Esri / solutions-erg-widget

The Emergency Response Guide (ERG) widget allows users to determine potential hazards based on the type of chemical spill and user-selected location on the map.
Apache License 2.0
6 stars 4 forks source link

Demographic Data not appearing in Demographic Tab "cannot read property `toString` of undefined" #14

Closed Dbarnes1 closed 6 years ago

Dbarnes1 commented 6 years ago

These may be two different issues, but I'm unable to get the demographic tab to give any results. After clicking "Solve" the tool runs and appears to create output features on the map. However, this pop-up appears: image.

I can click OK and close the pop-up

image

The Map Service layer that is driving the demographic tab is the Total Population layer.

To Reproduce:

  1. Deploy the ERG and Emergency Operations .sd files to the National Security Portal
  2. In the config.json file of the widget, update the Demographic map service with the rest url of the Total Population layer from the Emergency Operations map service. This change should be reflected in the configuration page in Web AppBuilder
  3. Set any parameters in the ERG tab and click "Solve."

Not sure what is going wrong here, but I'm not getting any demographic data returned in the widget

adgiles commented 6 years ago

You should leave the service URL pointing to the demographic data on server6, this works fine

Dbarnes1 commented 6 years ago

This is no longer relevant to the current build of the widget, closing