laptop and a wrench

Error

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

Última publicación: May 31, 2019 ArcGIS Pro SDK for .NET
Número de ID del error BUG-000122542
EnviadoMay 22, 2019
Última modificaciónJuly 30, 2025
Relacionado conArcGIS Pro SDK for .NET
Versión encontrada2.3.2
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
Versión corregida2.4
EstadoFixed

Información adicional

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

Pasos para reproducir

ID del error: BUG-000122542

Software:

  • ArcGIS Pro SDK for .NET

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga