Wondering if the Survey123 Connect application could have a validation step in the form publishing process that checks the form fields to ensure it matches the schema of a feature service?
I had a survey that was created using the Connect app and published to AGOL. This survey needs to be migrated to ArcGIS Enterprise using a feature service so the data will be placed in the geodatabase. When creating the feature class and related table for the feature service to be published was misconfigured.
When using this misconfigured service with the survey, when submitting data for the survey it put the message box that pops up into an endless loop and had to kill of the app on my iPhone 13 with iOS18.3.
After many hours of checking and testing the survey fields to the feature service, it was found enabling attachments for the related table was missing which corresponded to the repeat with many questions and an image question.
So, from this can a validation step be put into the publishing process to look at certain layouts in your form and compare to your feature service
examples
- image question = feature service layer has attachments enabled
- repeat with a certain name = related table in the published service
- repeat with an image question = related table in the published service has attachments enabled