Summary
On the ArcGIS Survey123 website, survey owners and collaborators with certain privileges can view and edit the results of submitted survey responses on the Data tab. Refer to ArcGIS Survey123: View all data for more information. However, survey records can be made editable by anonymous users (not signed in) in ArcGIS Experience Builder web apps, which provides users without ArcGIS Online accounts access to edit survey records to maintain data accuracy.
This article provides three methods to edit ArcGIS Survey123 records anonymously in ArcGIS Experience Builder.
Procedure
Edit the records anonymously in ArcGIS Experience Builder using the Survey widget
- Configure the survey's feature layer for public editing.
- Sign in to ArcGIS Online.
- Navigate to the survey's feature layer and set the sharing level to Everyone (public). Refer to ArcGIS Online: Share items with everyone for more information.
- Enable editing on the survey's feature layer and configure the following settings.
- For What kind of editing is allowed?, select Add and Update.
- For What features can editors see?, select Editors can see all features.
- For What features can editors edit?, select Editors can edit all features.
- For What access do anonymous editors (not signed in) have?, select The same as signed in editors.
- Click Save.
- Configure the survey for public editing.
- Sign in to the ArcGIS Survey123 website and open the survey form.
- Click Collaborate > Share survey.
- For Who can submit to this survey?, select Everyone (public).
- For What can submitters do?, select Add and update records (read access enabled) and click Save.
- Open the web app in ArcGIS Experience Builder.
- Add the Map, List, Feature Info, or Table widget to the web app and select the survey’s feature layer from ArcGIS Online as the widget’s data source. In this example, the Map widget is added.
- Add the Survey widget with the 'Edit an existing record' mode.
- Add the Survey widget to the web app.
- On the Content tab of the Survey widget, select the existing survey and click Insert.
- Under Mode, click Edit an existing record.
- Under Source layer, click Select data and select the associated feature layer in the web map.
Note:
The “Editing is not possible because the globalId parameter was not provided” message is displayed in the Survey widget on the canvas. This is expected behavior as no record is selected yet. The message is removed once a record is selected in the published web app.
- Save, preview and publish the web app.
- Open the published web app as an anonymous user and click a record in the widget from Step 4. The selected record is displayed in the Survey widget.
- Edit the selected record in the Survey widget and click Submit.
Edit the records anonymously in ArcGIS Experience Builder using the Edit widget
- Configure the survey's feature layer for public editing.
- Sign in to ArcGIS Online.
- Navigate to the survey's feature layer and set the sharing level to Everyone (public). Refer to ArcGIS Online: Share items with everyone for more information.
- Enable editing on the survey's feature layer and configure the following settings.
- For What kind of editing is allowed?, select Add and Update.
- For What features can editors see?, select Editors can see all features.
- For What features can editors edit?, select Editors can edit all features.
- For What access do anonymous editors (not signed in) have?, select The same as signed in editors.
- Click Save.
- Open the web app in ArcGIS Experience Builder.
- Add the Map, List, Feature Info, or Table widget to the web app and select the survey’s feature layer from ArcGIS Online as the widget’s data source. In this example, the Map widget is added.
- Add the Edit widget with the ‘Update records’ capability.
- Add the Edit widget to the web app.
- On the Content tab of the Edit widget, select Attribute only or Geometry and attribute and click New editable layer.
- On the Layer configuration panel, click Select data and select the survey’s feature layer. In this example, the Sydney Bird Sightings New feature layer is selected.
- Under Capability, toggle Update records on.
- Save, preview and publish the web app.
- Open the published web app as an anonymous user and click a record in the widget from Step 3. The selected record is displayed in the Edit widget.
- In the Edit widget, edit the selected record and click Update.
Edit the records anonymously in ArcGIS Experience Builder using the Embed widget
- Configure the survey's feature layer for public editing.
- Sign in to ArcGIS Online.
- Navigate to the survey's feature layer and set the sharing level to Everyone (public). Refer to ArcGIS Online: Share items with everyone for more information.
- Enable editing on the survey's feature layer and configure the following settings.
- For What kind of editing is allowed?, select Add and Update.
- For What features can editors see?, select Editors can see all features.
- For What features can editors edit?, select Editors can edit all features.
- For What access do anonymous editors (not signed in) have?, select The same as signed in editors.
- Click Save.
- Create a web map with the survey’s feature layer and enable pop-ups. Refer to ArcGIS Online: Get started creating maps (Map Viewer) for more information.
- Set the web map sharing level to Everyone (public) and copy the URL.
- Open the web app in ArcGIS Experience Builder.
- Embed the web map from Step 2 in the web app.
- Add the Embed widget to the web app.
- On the Content tab of the Embed widget, select the URL option for the Embed by parameter and paste the copied URL into the text box.
- Save, preview and publish the web app.
- Open the published web app as an anonymous user and click a feature on the embedded web map.
- In the selected feature’s pop-up, click Edit . The Edit feature pane is displayed.
- Make edits to the selected feature and click Update.