PROBLEM

Predefined calculations in ArcGIS Survey123 survey questions are not retained in other applications

Last Published: June 9, 2022

Description

ArcGIS Survey123 supports prepopulate answers for survey questions in several ways such as setting default answers, importing existing CSV data, and applying calculations. When a feature layer of a published survey form containing questions with predefined calculations is used in a web map, the predefined calculations are not preserved when the web map is used in other applications, such as ArcGIS Field Maps. The field with the predefined calculation is not automatically filled up and users are able to edit the field with custom attributes.

The image below is an example of the ArcGIS Survey123 question with predefined calculation. The question labelled 'Percentage' is auto-calculated when the answers in the survey that are inputs to the calculation are filled in.

ArcGIS Survey123 survey form displaying question with predefined calculation.

The image below shows the same layer used in a web map in ArcGIS Field Maps. The 'Percentage' field is not auto-calculated, and users can input custom attributes.

Field of the same layer in ArcGIS Field Maps fails to preserve the predefined calculation.

Cause

This is a known limitation. The calculation configured in the ArcGIS Survey123 web app only applies on the ArcGIS Survey123 application level. It does not reflect on the feature layer level where the other ArcGIS applications are utilizing the data source from.

Solution or Workaround

As a workaround, configure the form to apply the calculation in ArcGIS Online on the web map level or on the web application itself such as the ArcGIS Field Maps web app.

Configure the form in ArcGIS Online Map Viewer

Create a form for the feature layer in ArcGIS Online Map Viewer, and configure the form to add expressions to calculate and populate data automatically. This method automatically calculates data in the form using attributes, geometry, and account information for signed-in users.

The image below shows an example of a calculated expression using Arcade created for a form element in ArcGIS Online Map Viewer.

The Configure form dialog box showing the calculated expressions.

The form is saved as part of the web map. Use the web map with the configured form in the desired application such as ArcGIS Field Maps.

Configure the form in the ArcGIS Field Maps web application

In the ArcGIS Field Maps web app, configure the form and create expressions using Arcade to streamline and automate data entry using calculated expressions.

The image below shows the form element, 'Percentage' in ArcGIS Field Maps mobile app is applied with calculated expression, and data is automatically populated in the form.

The ArcGIS Field Map mobile app displaying a form element 'Percentage', with a calculated expression applied.

Article ID: 000027799

Software:
  • ArcGIS Online
  • ArcGIS Survey123 Field App iOS
  • ArcGIS Survey123 Field App Android
  • ArcGIS Survey123 Connect
  • ArcGIS Survey123 Website
  • ArcGIS Field Maps Android
  • ArcGIS Field Maps iOS

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options