Description
When viewing or editing the ArcGIS Dashboards app, elements in the dashboard and the configuration window of the element load indefinitely.
In some cases, the elements in the dashboard display a message, ‘Data source error’, and a warning icon, 'Cannot access data'.
Cause
In a dashboard, elements such as map legends, serial charts, pie charts, indicators, gauges, lists, and details are data-driven and rely on the underlying data source’s ability to generate feature information. However, elements in the dashboard fail to display information due to the following causes:
- The element in the dashboard loads indefinitely when it draws data from a web map configured in the map element, and the map element is collapsed to the size of 0%.
- A return message and warning icon are displayed when the referenced operational layer of the map configured in the map element is removed at the web map level.
Solution or Workaround
Depending on the cause, use one of the following options to resolve the issue.
Resize the map element to load the dependent elements in the dashboard
Resize the map element to display it and load the dependent elements in the dashboard.
- Log in to ArcGIS Online. Click Content > My Content.
- Browse to the dashboard, click More Options , and select Edit Application.
- In ArcGIS Dashboards, depending on the location of the map element, resize it to the desired size. Refer to ArcGIS Dashboards: Resize an element for more information.
- On the top panel, click Save to save the dashboard.
Configure the element to draw data directly from the layer
Configure the element to draw data directly from the layer in the Other layers section in the element’s configuration window.
- In ArcGIS Dashboards, hover over the top-left corner of the element, and select Configure in the drop-down menu. In the example below, the ‘details’ element is configured.
- In the Details window, in the Other layers section, click Browse all layers.
- On the My layers tab, browse to and hover over the layer, and click Select.
- In the Details window, configure the element, and click Done.
- On the top panel, click Save to save the dashboard.
Add the layer to the web map in Map Viewer
In Map Viewer, add the layer to the web map, and configure it as the reference layer of the element in ArcGIS Dashboards.
- Log in to ArcGIS Online. Click Content > My Content.
- In Map Viewer, add the layer to the web map.
- On the My Content page, browse to the web map, click More Options , and select Open in Map Viewer.
- In Map Viewer, on the left panel, on the Layers tab, click Add layer.
- In the Add layer pane, browse to the layer, and click Add to add it to the map.
- On the left panel, click Save > Save to save the map.
- In the upper-left corner, click the Home drop-down list, and select Content.
- On the Content page, on the My Content tab, browse to the dashboard, click More Options , and select Edit Application.
- In ArcGIS Dashboards, configure the layer as the reference layer of the element.
- Hover over the top-left corner of the element, and select Configure in the drop-down menu. In the example below, the ‘details’ element is configured.
- In the Details window, under Layers from ‘<map_name>’ map:, select the layer.
- In the Details window, configure the element, and click Done.
- On the top panel, click Save to save the dashboard.
The image below shows all the elements displaying the feature information in ArcGIS Dashboards.