laptop and a wrench

Bogue

When editing a parcel fabric service, the attribute rule performance is slower on ArcGIS Enterprise 10.9.x than on previous versions.

Dernière publication: October 1, 2022 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000148951
EnvoiMay 3, 2022
Dernière modificationJune 17, 2025
S’applique àArcGIS GIS Server
Version trouvée10.9
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction3.1
StatutFixed

Informations supplémentaires

The way the attribute rule is authored is the main cause of the performance. The attribute rule loops through the entire `Property` layer looking for a property matching the edited feature name. What exacerbates the problem is the fact that the attribute rule is permitted to be executed in the client (Exclude from App Evaluation is unchecked). ArcGIS Pro first executes the rule locally before sending the applyEdits function, which means ArcGIS Pro needs to fetch all properties from the service, causing paging query requests defined by the maximum record size. The time to pull the class to the client is what takes most of the execution. Later, the applyEdits function is sent to the server to only repeat the same process to execute the attribute rule on the server side. The queries are faster due to querying the database directly. This can be avoided by rewriting the rule to push the where clause to the database, which should push the time to a sub-second. This attribute rule did, however, expose an optimization in Arcade when some of the fields are asked to be retrieved. The optimization fix was pushed to 11.1/3.1 but cannot be patched to older releases.

Solution de contournement

Rewrite the attribute rule as follows: if ($originalfeature.Name != $feature.Name) { var newName = $feature.Name; var oid = $feature.OBJECTID; var Properties = FeatureSetByName($datastore, 'Branch.GIS.Property', ['OBJECTID'], false); var duplicates = Filter(Properties, 'RetiredByRecord IS NULL AND Name=@newName AND OBJECTID < > @oid') return false; } return true;

Étapes pour reproduire

ID de bogue: BUG-000148951

Logiciel:

  • ArcGIS GIS Server

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