laptop and a wrench

Bug

Actions (flash or zoom) in the category selectors do not work in ArcGIS Dashboards.

Last Published: January 7, 2022 ArcGIS Dashboards
Bug ID Number BUG-000139012
SubmittedApril 14, 2021
Last ModifiedJune 5, 2024
Applies toArcGIS Dashboards
Version found9.1
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

Use the following options as alternative configuration options to maintain similar behavior in ArcGIS Dashboards. - Change the selection mode to multiple. - Change the preferred display type to the button bar. - Add a 'none' option. - Use a data expression to combine the two layers into one, and use with a single selector.

Workaround

  1. Use ArcGIS Dashboards Classic (through the app launcher or directly via a saved URL or bookmark).
  2. Add a ‘none’ option to each of the selectors.
  3. If the dashboard is saved or a copy created to use the new version, it is possible to use a data expression to combine the two layers together into a single layer as the data source for the selector. The expression is as follow:

var portal = Portal("https://www.arcgis.com/");

var fl1 = FeatureSetByPortalItem(portal,"<layer id>",0,["*"],true)

var fl2 = FeatureSetByPortalItem(portal,"<layer id?",0,["*"],true)

var combinedDict = {

fields: [

{ name: "textField", type: "esriFieldTypeString"},

],

geometryType: "esriGeometryPoint",

features: [],

};

// Loop through each of the three FeatureSets and store attributes into a combined dictionary.

var i = 0;

for (feature in fl1) {

combinedDict.features[i] = {

'geometry':Geometry(feature),

attributes: {

textField: feature["textField"],

}

};

i++;

}

for (feature in fl2) {

combinedDict.features[i] = {

'geometry':Geometry(feature),

attributes: {

textField: feature["textField"]

}

};

i++;

}

// Return dictionary cast as a feature set

return FeatureSet(Text(combinedDict));

Steps to Reproduce

Bug ID: BUG-000139012

Software:

  • ArcGIS Dashboards

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options