Simple question,
Can you use Survey123 to update attributes in an existing feature service or is that strictly field maps and web editing? The reason for asking is our current 10.9.1 version for portal is limited in terms of web editing and field maps currently doesn't support web editing. We are working on a complex workflow using a polygon features with related tables and the form editing capabilities in our current version leaves very little.
Yes,
When you publish a survey and point it to an existing hosted feature layer, Survey123 will generate the XLSForm against that schema. If the layer has editing enabled, the survey can be configured to update existing records, not just insert new ones.
You can create a survey on an existing feature service that allows editing by GlobalID using Survey123 connect. You can do quite a bit in terms of employing some JS functions, intersects, etc in this as well. Typically, what I would do is generate a hyperlink in the field maps pop up for a feature that would pass the GlobalID of the feature you want to edit as a argument to the edit url for the survey.
Here is a blog post that sort of covers things - https://community.esri.com/t5/arcgis-survey123-blog/working-with-existing-feature-services-in-arcgis....
Just to clarify, I can write back to the original service that the survey was generated from without having it simply write to a hosted service when the survey is submitted. When I read through the documentation, I didn't see anywhere where it mentioned writing back to a feature service. I am working use a service published from an sde database. I probably should have clarified that in my question.
I see. You might need to continue with the survey as described previously, and then write a webhook to handle writing back to the SDE database. I am not as familiar with workflows for this as my org predominantly works in AGOL. However, the logic behind webhooks would be solid in theory.
Yes.
Here's how to do it.
Users can then use the Web Map or List to interact with existing records in a Survey123 Form
Does your method work in a 10.9.1 portal? I am testing it out now to see but we are unfortunately limited until we can upgrade.
I just checked a little while ago and I am testing your method. I have never used this method before but I will give an update when things start to go in the direction that we are striving for. Thank you very much for that needed information.