Hi all,
I've recently had a bit of a headache trying to figure out why recently Published Surveys (from S123 Connect) were created a _form view.
After a lot of head-scratching I realised from searching online ( General FAQ—ArcGIS Survey123 | Documentation ) that my S123Connect had updated itself or I had somehow inadvertently updated it to >v3.22 !:
Where are my surveys stored?
A survey is composed of multiple ArcGIS items. For each survey,Survey123creates a folder in your ArcGIS account namedSurvey-SurveyNamethat contains the following:
Feature layers—Store the responses to the survey. When you initially publish the survey, Survey123 also creates a hosted feature layer view named SurveyName_form (previously named SurveyName_fieldworker) for submissions. When you share the survey results using the Survey123 website, it creates a hosted feature layer view named SurveyName_results (previously named SurveyName_stakeholder). For more information, see FAQ: What are the form and results hosted feature layer views used for in ArcGIS Survey123? When surveys are created from an existing feature layer, publishing does not create new feature layers, so Survey123 references the existing feature layer from its source folder location.
Survey123 Connect version 3.21 and earlier did not create the _form layer view, so existing surveys that were initially published prior to version 3.22 use the hosted feature layer for submissions instead.
I'm assuming that this _form layer endpoint is now written to (via REST api) rather than the parent/original hosted feature layer (HFL)? And that any webhooks (HFL webhooks not S123) etc. should then be set against the _form view instead?
The FAQ linked in the above link also then seems out-of-date as it mentions:
FAQ: What Are the Form and Results Hosted Feature Layer Views Used for in ArcGIS Survey123
When you create and publish a survey in Survey123 Connect, permissions for editing access are managed on the survey’s feature layer, and a form view is not created. For surveys published in Survey123 Connect, the results view is created when the Share survey settings are modified on the Collaborate tab of the Survey123 website.