laptop and a wrench

漏洞

Opening a web map in the new ArcGIS Collector and ArcGIS Field Maps app fails with the error returned, “invalid call with current token type” when the map contains a layer with a date field and date format "datePattern": "MMMM d, y".

上次发布: December 28, 2021 ArcGIS Field Maps
漏洞 ID 编号 BUG-000137470
已提交February 16, 2021
上次修改时间September 26, 2025
适用范围ArcGIS Field Maps
找到的版本20.2.0
操作系统Apple iOS
操作系统版本14.0x
状态Will Not Be Addressed

附加信息

The issue is expected behavior in ArcGIS Field Maps. Formatting a date using the 'datePattern' property is not supported. Dates should be formatted using 'dateFormat', refer to https://developers.arcgis.com/documentation/common-data-types/format.htm.

解决办法

  1. Remove the pop-up for the layer, and save the web map.
  2. Open the map's JSON in ArcGIS Online Assistant and change the format of the date field from "datePattern": "MMMM d, y" to "dateFormat": "shortDateLongTime".
  3. Open pop-up configuration > Configure Attributes.
  4. Change the display format of the date field, and save the map.

重现步骤

漏洞 ID: BUG-000137470

软件:

  • ArcGIS Field Maps

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项