How To: Create Survey123 for ArcGIS surveys that connect to non-federated ArcGIS Server services


This article describes the requirements and provides the steps to create surveys in Survey123 that can connect directly to existing feature services from ArcGIS Online or ArcGIS Server.


By using the submission_url property in an XLSForm, surveys can be created that connect directly to existing feature services from ArcGIS Online or ArcGIS Server.

The minimum requirements for the feature service are:

  • When working against feature services with related tables, relationships must use a GlobalID field in the parent layer and a GUID field in the child layers or tables. The name of the fields is irrelevant, but the types must be honored. This rule also applies to attachments.
  • The feature service cannot be versioned. Archiving (history) is fine.
  • GlobalID fields used in relationships must be indexed and must be set in the database to contain non-nullable and unique values.
  • The server must not use web-tier authentication (for example, it cannot use IWA or PKI authentication).
To work with non-federated feature services, some additional configuration is required:
  • The service must be secured.
  • The service must be registered in your ArcGIS organization with credentials saved in the item (see below). This creates a proxy service in your ArcGIS organization, which is used as the submission_url in your survey.
To create the proxy service complete the following:
  1. Obtain the URL of the secured service. Ensure the URL is to the FeatureServer endpoint, for example:
  1. In your ArcGIS organization, browse to My Contents and select Add Item and choose From Web.
  2. Paste the URL of your service.
  3. Enter the credentials and save the item.
  4. Browse to the Details page of this new service. At the bottom of this page is a URL. Copy this URL to prepare to add to your survey. The URL will look similar to this:
  1. In the XLSForm spreadsheet, paste this URL into the submission_url column on the Settings page.
  2. Enter the name of the layer of the feature service into the Form_ID column on the Settings page.
  3. Enter questions and choices as needed for the survey.
  4. Publish the survey and use it in Survey123.
After the survey has been published, the security of the original feature service can be changed to public. It is still necessary to share both the form and the proxy feature service to your users.