laptop and a wrench

漏洞

In Collector for ArcGIS (Android) 17.0.4, non-nullable fields without a coded domain in a feature service contain a space by default and must be removed manually when entering new data.

上次发布: June 10, 2019 Collector Classic for ArcGIS (iOS)
漏洞 ID 编号 BUG-000111080
已提交January 24, 2018
上次修改时间February 10, 2025
适用范围Collector Classic for ArcGIS (iOS)
找到的版本17.0.4
操作系统Apple iOS
状态Known Limit

附加信息

This is a known limitation when publishing from ArcGIS Desktop with non-nullable attribute fields. Text fields contain spaces and numerical fields contain zeros as default values. Collector for ArcGIS reads the default values when creating features. As an additional workaround, use the Reset Required Fields tool in the Collector Utils tools in ArcGIS Pro with hosted feature services from ArcGIS Online or ArcGIS Enterprise. Does not work with ArcGIS Server. This tool removes those spaces and zeros from the non-nullable fields, therefore allowing them to show up as 'required' in Collector for ArcGIS. https://github.com/Esri/collector-tools/blob/master/CollectorUtils/pro/ResetRequiredFields.md https://github.com/Esri/collector-tools

解决办法

  1. After publishing the hosted feature service to ArcGIS Online, navigate to the service's REST.
  2. Insert admin into the REST URL in order to access Admin operations. For example: https://services.arcgis.com/<org id>/arcgis/rest/admin/services/<service name>/FeatureServer/0?token=<token>
  3. Click on the service's layer to navigate to the layer's Admin REST endpoint.
  4. Click Update Definition.
  5. Search for "lastEditDate" : <number> line.
  6. Remove <number> from line and replace it with ''. For example: "lastEditDate" : ''.
  7. Search for the field's template and replace the field name's " " value with a null value.
  8. Click Update Layer Definition.
  9. Add the newly updated layer into a new web map to consume the map in Collector for ArcGIS Classic, or refresh the existing maps in Collector for ArcGIS Classic. The required fields are honored in Collector for ArcGIS Classic.

重现步骤

漏洞 ID: BUG-000111080

软件:

  • Collector Classic for ArcGIS (iOS)

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项