laptop and a wrench

不具合

The repeat count with a dynamic calculation does not get updated properly when the form is saved as a draft in ArcGIS Survey123 field app.

ArcGIS Survey123
不具合 ID 番号 BUG-000156375
送信されましたMarch 7, 2023
最終更新日June 5, 2024
適用対象ArcGIS Survey123
見つかったバージョン3.16
オペレーティング システムWindows OS
オペレーティング システムのバージョン10.0 64 Bit
ステータスAs Designed

参考情報

In the scenario explained in this defect, the question that is used to calculate the repeat count is outside of the repeat. When the form is filled out for the first time, this question is populated with a certain value which determines the number of repeats that show up on the form. However, when the same form is edited in the draft mode, this value is not recalculated since it already has an existing value, therefore, the number of repeats would not change. In order to recalculate the repeat count every time even when an existing form is being edited, use "calculationMode=always" in the bind::esri:parameters column. Refer to the following documentation for additional information: https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepopulateanswers.htm#ESRI_SECTION2_5938C978416F46B4A21837428F888F61.

対処法

Use a conditional statement in the calculation to set the repeat count to 1 if no other value is being calculated.

For example "if(count-selected(${Question_Name}) > 0, count-selected(${Question_Name}), 1)" instead of "${deficiency_repeat_count}". Then, delete the third line. Put the calculation directly in the repeat_count column instead of using a variable with the calculation applied to it.

再現の手順

不具合 ID: BUG-000156375

ソフトウェア:

  • ArcGIS Survey123

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

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

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

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

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

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

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