laptop and a wrench

Error

With MOLE92QFENIM009615, MOLE layers do not evaluate a definition expression if the same expression is applied again.

Última publicación: August 25, 2014 No Product Found
Número de ID del error NIM034277
EnviadoApril 15, 2008
Última modificaciónJune 5, 2024
Relacionado conNo Product Found
Versión encontrada9.2
Lenguaje del programaC#
Versión corregida9.2
EstadoFixed

Solución alternativa

Check to see if the definition expression applied is the same or not. If it is same then set the definition expression on the layer to an empty string and then apply the new expression. Code below: string tempFilter = ""; tempFilter = ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression; if (tempFilter.Trim() == filter.Trim()) { ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = string.Empty; ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = filter.Trim(); } else { ((IFeatureLayerDefinition)cachedGraphicFeatureLayer.FeatureLayer).DefinitionExpression = filter.Trim(); }

Pasos para reproducir

ID del error: NIM034277

Software:

  • No Product Found

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