laptop and a wrench

Bug

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

Zuletzt veröffentlicht: January 7, 2022 ArcGIS Dashboards
Bug-ID-Nummer BUG-000139012
EingereichtApril 14, 2021
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Dashboards
Gefunden in Version9.1
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusWill Not Be Addressed

Zusätzliche Informationen

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));

Schritte zur Reproduzierung

Bug-ID: BUG-000139012

Software:

  • ArcGIS Dashboards

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln