laptop and a wrench

Bogue

A calculation attribute rule fails to save when using a previously declared string variable in the FeatureSetByName Arcade function.

ArcGIS Pro
Numéro d’ID de bogue BUG-000165771
EnvoiMarch 7, 2024
Dernière modificationApril 9, 2025
S’applique àArcGIS Pro
Version trouvée3.1.3
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutAs Designed

Informations supplémentaires

This is by design; featuresetbyname must take a literal string to make the Arcade work across the stack. This is required for copy and paste, publishing, client-side evaluation, and much more. It is not recommended to pass a variable. If the user must pass a variable for any reason, they can create a new function: var newFeatureSetByname = FeatureSetByName, Then, use newFeatureSetByname instead. However, the user must exclude the rule from evaluation and must understand that this will affect publishing, copy and paste, and other workflows.

Solution de contournement

This is by design; featuresetbyname must take a literal string to make the Arcade work across the stack. This is required for copy and paste, publishing, client-side evaluation, and much more. It is not recommended to pass a variable. If the user must pass a variable for any reason, they can create a new function, var newFeatureSetByname = FeatureSetByName, and then use newFeatureSetByname instead. However, the user must exclude the rule from evaluation and must understand that this will affect publishing, copy and paste, and other workflows.

Étapes pour reproduire

ID de bogue: BUG-000165771

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