HOW TO

Create the Form view for surveys published in ArcGIS Survey123 Connect

Last Published: October 10, 2023

Summary

ArcGIS Survey123 Connect does not automatically create the Form view (formerly known as Fieldworker) for surveys published from it. The surveys and hosted feature service must be shared publicly, which in turn, permits anonymous submissions. The surveys are published and shared publicly, but at times, access to the main hosted feature service must be restricted. This is where the Form view is useful.

Note:
The ArcGIS Survey123 website automatically creates the Form view in ArcGIS Online for users to submit surveys. This functionality allows users to share and view surveys publicly, permitting anonymous access to the surveys without sharing the main hosted feature service.

This article describes how to create the Form view for surveys published in Survey123 Connect.

Procedure

  1. Log in to ArcGIS Online using an ArcGIS Online organizational account.
  2. Create a hosted view layer for the survey's hosted feature layer and configure its settings.
  1. In My Content, navigate to the survey's folder.
  2. In the survey's folder, click the name of the survey's hosted feature layer to open the item details page, as shown in the next image.
1.png

 

  1. Click Create View Layer > View layer to create a hosted view layer.
2.png
  1. In the Create View Layer window, on the Choose layers tab, make sure your layers are selected and click Next.
  2. On the Define view tab, click Next.
  3. On the Create view tab, fill in the Title, Tags, and Summary. Click + Create to save the hosted view layer in the desired folder, as shown in the next image.

3.png

  1. Once the hosted view layer is created, click the Settings tab of the view layer and click Feature Layer (hosted, view), as shown below.
4.png
  1. In the Editing section of the Settings page shown in the next image, check the Enable editing check-box. For What kind of editing is allowed, select Add and deselect Delete and Update and click Save.

6.png

Note:
Ensure the hosted feature layer is shared publicly. To share an editable layer publicly, enable Approve this layer to be shared with the public when editing is enabled. under Public Data Collection, shown in the next image. 
5.png

To prevent editors or viewers from viewing any features, check the Editors can't see any features, even those they add option and click Save.

7.png
  1. Click the Overview tab. Copy the item id from the URL in the address bar, as shown in the next image.
  2.  Scroll to the Layers section shown below on the item details page to identify the name of the layer

8.png

  1. In Survey123 Connect, open the published survey's spreadsheet, update the table and republish the survey:
    1. Click the Open XLSForm spreadsheet Open XLSForm speadsheet icon icon to open the survey form.
    2. In the survey form, navigate to the settings worksheet, and paste the item id of the hosted view layer to make the submission_url to link the survey and the hosted feature layer view. Refer to ArcGIS Survey123: Author a survey that matches a feature service for more information.
    3. Type the name of the layer in the form_id field.
9.png
  1. Save the form and click Publish Survey to republish the survey.
10.png
Note:
Users can share the survey form publicly while restricting the primary hosted feature layer. This allows access to the survey without signing in to ArcGIS Online.

Article ID: 000020413

Software:
  • ArcGIS Online
  • ArcGIS Survey123 Connect

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