PROBLEM

Choice list does not include all attribute values in ArcGIS Survey123

Last Published: November 14, 2025

Description

When using a search expression to populate a choice list with values from a feature layer, not all available attribute values are displayed.

In this example, the search expression returns a maximum of 2,000 features from a feature layer containing more than 2,000 records.

The search results limited to 2,000 features in ArcGIS Survey123

Cause

The maximum record count of the feature layer is lower than the total number of features. The number of features returned by the ArcGIS Survey123 search expression is determined by the maxRecordCount property, which has a default value of 2,000. Consequently, only features within the maxRecordCount limit are included in the choice list, while records exceeding the threshold are not returned.

Solution or Workaround

Use the ArcGIS REST API to increase the maxRecordCount property of the feature layer to match the number of features returned in the ArcGIS Survey123 choice question.

In ArcGIS Online

  1. On the feature layer’s item page, under URL, click View to open the ArcGIS REST Services Directory window.
  2. In the ArcGIS REST Services Directory window, click Admin.
  3. Under Layers, select the root layer.
  4. At the bottom of the page, for Supported Operations, click Update Definition.
  5. In the Update Layer Definition text box, search for "lastEditDate" and replace the value with "".
The modified lastEditDate value in the Update Layer Definition text box
  1. Search for "maxRecordCount" and increase its value. In this example, the value is increased from 2,000 to 4,000.
The updated value for the maxRecordCount property in the Update Layer Definition text box
  1. Click Update Layer Definition.

In the ArcGIS Enterprise portal

Use the ArcGIS Server Administrator Directory to increase the maximum record count of the feature layer. Refer to Problem: Unable to edit the maximum record count for feature services in Portal for ArcGIS for instructions.

Updating the maxRecordCount property to match the number of features in the feature layer allows ArcGIS Survey123 to return and display the complete list of attribute values when using the search expression, as shown in the image below.

The complete list of attributes in the choice question

Article ID: 000036996

Software:
  • ArcGIS REST API
  • ArcGIS Online
  • Portal for ArcGIS
  • ArcGIS Survey123

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options