laptop and a wrench

Bogue

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

Dernière publication: January 7, 2022 ArcGIS Dashboards
Numéro d’ID de bogue BUG-000139012
EnvoiApril 14, 2021
Dernière modificationJune 5, 2024
S’applique àArcGIS Dashboards
Version trouvée9.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000139012

Logiciel:

  • ArcGIS Dashboards

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement