laptop and a wrench

漏洞

The Guid() Arcade function does not evaluate in a smart form in Map Viewer (ArcGIS API for JavaScript 4.x).

上次发布: August 26, 2022 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000151856
已提交August 25, 2022
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.24
操作系统N/A
操作系统版本N/A
状态Non-Reproducible

附加信息

This issue is not reproducible in ArcGIS Online Map Viewer. The Guid function evaluates as expected.

解决办法

  1. Open the feature layer's Data tab from the item details page.
  2. In the table view, click the name of the new field, then click Calculate.
  3. Click Arcade.
  4. Type in the expression: return Guid().
  5. Click OK.
  6. All records are updated as expected.
  7. Alternatively, add the feature layer to a map in ArcGIS Pro, run the Feature Class To Feature Class tool to create a local copy of the feature layer, run the Add Global IDs tool, and overwrite the existing feature layer.

重现步骤

漏洞 ID: BUG-000151856

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项