laptop and a wrench

Erro

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 do Erro BUG-000176096
EnviadoApril 28, 2025
Última ModificaçãoJune 19, 2025
Aplica-se àArcGIS Pro
Versão encontrada3.3
Sistema OperacionalWindows OS
Versão do Sistema OperacionalN/A
StatusAs Designed

Informações Adicionais

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

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000176096

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download