laptop and a wrench

漏洞

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

ArcGIS Pro
漏洞 ID 编号 BUG-000165771
已提交March 7, 2024
上次修改时间April 9, 2025
适用范围ArcGIS Pro
找到的版本3.1.3
操作系统Windows OS
操作系统版本10.0 64 Bit
状态As Designed

附加信息

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.

解决办法

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.

重现步骤

漏洞 ID: BUG-000165771

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项