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 for ArcGIS that 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:
The feature service cannot be versioned. Archiving (history) is fine.
The server must not use web-tier authentication (for example, it cannot use IWA or PKI authentication).
Additionally, if your survey contains repeats:
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.
GlobalID fields used in relationships must be indexed and must be set in the database to contain non-nullable and unique values.
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 the ArcGIS organization, which is used as the submission_url in the survey.
To create the proxy service complete the following:
Obtain the URL of the secured service. Ensure the URL is to the FeatureServer endpoint. For example: