A survey is composed of two parts: the form item that the app uses and the feature layer that contains the data submitted from the survey. You can update a survey that has been published.
Before replacing an existing survey, confirm that all unsent surveys have been submitted, and consider downloading the results of the original survey first. When a survey is republished, users must update the survey on their device to see and work with the latest version.
Caution:
If a survey has been created from an existing feature layer (either an ArcGIS Server feature layer or hosted feature layer), new questions and choice list values can be added to the survey only after the corresponding field or domain is added to the feature layer.
When republishing a survey in Survey123 Studio, choice list values can be added to the survey only after the corresponding field or domain is added to the feature layer.
After making changes to a survey, you can typically republish it without re-creating the feature layers. You can make the following changes to a published survey in Survey123 Studio:
- Reorder questions
- Add questions
- Add notes
- Add groups
- Add repeats
Note:
When adding repeats to a published survey, you cannot change the hierarchy of existing repeats. For example, you can add a nested repeat, but you cannot nest an existing repeat in a new repeat. If you're using ArcGIS Enterprise, republishing after adding a repeat requires version 10.9.1 or later.
- Update labels in questions
- Update labels in groups
- Update constraints, defaults, hints, and whether a question is required
- Update calculations
- Update choice filters
- Delete choices in lists
- Delete questions and repeats
- Change question types (if the underlying field type is the same)
Note:
Renaming a question creates a field in the feature layer under the new name. The old field is retained in the feature layer, so before republishing, it is recommended that you review its contents and either copy the data to the new field or delete it.
In some cases, republishing an updated survey re-creates the feature layers, renaming the original. Examples include changing the layer's geometry (such as changing a geopoint question to a geoshape question) and changing the field type of a question (such as changing an integer question from esriFieldTypeInteger to esriFieldTypeString).
When you republish, a warning appears if any of the changes you've made are not supported by the survey's feature layer. If you disregard the warning and republish, the original feature layer is renamed and replaced with a new one, as well as associated feature layer views and the web map when applicable. You can delete the original hosted feature layer after appending any data from it that you want to save.