laptop and a wrench

Bogue

Constraint Attribute rule does not consider subtype on insert

Dernière publication: July 20, 2021 ArcGIS Pro
Numéro d’ID de bogue BUG-000140372
EnvoiJune 1, 2021
Dernière modificationJuly 3, 2025
S’applique àArcGIS Pro
Version trouvée2.7.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0
Version de correction2.9/2.8.2
StatutFixed

Solution de contournement

Create a new attribute rule and apply it to all Subtypes (select <All>) instead of selecting a subtype name.

Wrap the original attribute rule expression in an if statement to handle the specific subtype user wish to constrain using the subtype's value. Return false if it is not the subtype so user rules does not execute.

Example:

if($feature.SubType == <subtype value, should be an integer>){

<attribute rule conditions here>

return false

}

Étapes pour reproduire

ID de bogue: BUG-000140372

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