laptop and a wrench

Bug

The ArcGIS Survey123 web app fails to access a CSV file, and returns an error message, "FormLogicError: instance "CSV_NAME" does not exist in model," or fails to pull the data from the CSV file, when the pulldata functions in the survey start with 'once(pulldata...)'.

Last Published: September 5, 2022 ArcGIS Survey123
Bug ID Number BUG-000139694
SubmittedMay 6, 2021
Last ModifiedJanuary 16, 2024
Applies toArcGIS Survey123
Version found3.12
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusUnder Consideration

Workaround

The pulldata() function fails and returns the error when it is nested in another function such as once() and concat(). As a workaround, split up the nested pulldata() function into separate calculations in separate questions and then use those questions in the once() or concat() function.

Other ways of using the workaround are:

  • Add a question with the pulldata() function without once() for ArcGIS Survey123 to recognize the CSV file. It can be a hidden question or with a null field type.
  • If there is a select_one question tied to the survey (same data as the CSV file used in the pulldata() functions), use 'select_one_from_file' instead of 'select_one', and use the same CSV file instead of the choice list, which requires adding the name and label columns to the CSV file, to enable the ArcGIS Survey123 web app to load the CSV file when the form is launched.

Steps to Reproduce

Bug ID: BUG-000139694

Software:

  • ArcGIS Survey123

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic