laptop and a wrench

Bogue

The Python Definition Query tool does not render automatically in ArcGIS Pro.

Dernière publication: April 4, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000121155
EnvoiMarch 25, 2019
Dernière modificationApril 22, 2025
S’applique àArcGIS Pro
Version trouvée2.3.1
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

The issue is how the queryStr in being generated. The string being built is: "RAPP_Year" = 2017 The string must be: RAPP_Year = “2017” This code: field = '"RAPP_Year"' queryStr = field + " = " + str(manage_year) The code was changed to this code and it now works as expected: field = 'RAPP_Year' queryStr = f"{field} = '{manage_year}'"

Solution de contournement

The code was modified to produce the correct definition query string.

Étapes pour reproduire

ID de bogue: BUG-000121155

Logiciel:

  • ArcGIS Pro

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