laptop and a wrench

不具合

In Collector for ArcGIS (iOS version 20.1.0), features can be submitted without filling out the required fields (fields that were created to not allow Null values).

最後に公開された状態: February 28, 2020 ArcGIS Collector
不具合 ID 番号 BUG-000127984
送信されましたJanuary 16, 2020
最終更新日June 5, 2024
適用対象ArcGIS Collector
見つかったバージョン20.1.0
オペレーティング システムApple iOS
オペレーティング システムのバージョン13.0x
ステータスKnown Limit

参考情報

This issue gets introduced during the publishing process when working with non-nullable attribute fields. Default values are being published along with those non-nullable attribute fields and can be seen inside the Templates section of the JSON for the feature service. For text fields, a blank space is getting added. For numerical fields, a 0 is getting added. Therefore in Collector, those default values get applied when creating new features thereby enabling the 'Submit' button. Collector is working successfully. In order to address this issue, in general, the feature service JSON needs to be updated to remove those default values for the numerical and text fields that are non-nullable. Depending on the type of feature service being used, the process can vary. Aside from manually making these changes, here are a few additional methods to accomplish this: For Hosted Feature services, the following toolbox tool can be used in ArcGIS Pro - https://github.com/Esri/collector-tools/blob/master/CollectorUtils/pro/ResetRequiredFields.md. The toolbox can be downloaded here https://github.com/Esri/collector-tools For ArcGIS Server feature services (10.5.1+), through the admin directory the following property needs to be added to the feature service - “setDefaultsToNullForNotNullFieldsInTemplates:” true. This will cause the service to be restarted once added. Both processes essentially modify those blank space/0 default values for the non-nullable fields inside the templates section of the JSON and replaces those values with null.

再現の手順

不具合 ID: BUG-000127984

ソフトウェア:

  • ArcGIS Collector

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動