laptop and a wrench

Error

Using Arcade expression in the Expression Builder in ArcGIS Pro's Attribute Rules to update a feature that contains an apostrophe throws an error: "Invalid where clause (Field Name = 'data's')".

ArcGIS Pro
Número de ID del error BUG-000176096
EnviadoApril 28, 2025
Última modificaciónJune 19, 2025
Relacionado conArcGIS Pro
Versión encontrada3.3
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoAs Designed

Información adicional

Crafting the SQL string manually is error prune, Use template literals when applying where clauses, Refer to this blog: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745 for more information. For example: var fsTable = FeatureSetByName($datastore, "table") var objectIds = [1,2,3,4,5] var whereClause = "objectId in @objectIds"; fsFilter = Filter(fsTable, whereClause);

Solución alternativa

Crafting the SQL string manually is error prune, Use template literals when applying where clauses, Refer to this blog: https://community.esri.com/t5/attribute-rules-blog/attribute-rule-authoring-and-configuration-tips/ba-p/1023745 for more information.

For example:

var fsTable = FeatureSetByName($datastore, "table") 

var objectIds = [1,2,3,4,5]

var whereClause = "objectId in @objectIds";

fsFilter = Filter(fsTable, whereClause);

Pasos para reproducir

ID del error: BUG-000176096

Software:

  • ArcGIS Pro

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