laptop and a wrench

Bogue

The definition query is missing in the Layer Properties of ArcGIS Pro after setting it in an Add-In button using FeatureLayer.SetDefinitionQuery.

Dernière publication: May 31, 2019 ArcGIS Pro SDK for .NET
Numéro d’ID de bogue BUG-000122542
EnvoiMay 22, 2019
Dernière modificationJuly 30, 2025
S’applique àArcGIS Pro SDK for .NET
Version trouvée2.3.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction2.4
StatutFixed

Informations supplémentaires

To update the user interface to reflect the definition query on the layer in ArcGIS Pro, the CIM must be updated with the change after calling the SetDefinitionQuery method on the layer class. Refer to the code below as an example: featureLayer.SetDefinitionQuery(" QUERYDEFINITION "); CIMFeatureLayer cimDef = featureLayer.GetDefinition() as CIMFeatureLayer; featureLayer.SetDefinition(cimDef);

Étapes pour reproduire

ID de bogue: BUG-000122542

Logiciel:

  • ArcGIS Pro SDK for .NET

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