Select to view content in your preferred language

Can you use Survey123 to update attributes in a feature service?

484
7
08-18-2025 06:10 AM
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

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.

0 Kudos
7 Replies
JuanTomásMartinez17
Esri Contributor

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.

AustinAverill
Frequent Contributor

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....

RPGIS
by MVP Regular Contributor
MVP Regular Contributor

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.

0 Kudos
AustinAverill
Frequent Contributor

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.

0 Kudos
AaronPDXPaul
Frequent Contributor

Yes.

Here's how to do it.

  • Create an Experience Builder
  • Add a Map or a List
    • Configure Map or List to a Feature Service or Web Map
  • Add a Survey123 Widget
    • Configure Survey123 to a Feature Service or Web Map
  • Set to Edit an existing Record on the Survey123 widget
  •  
  • AaronPDXPaul_0-1755527587000.png

     

Users can then use the Web Map or List to interact with existing records in a Survey123 Form

0 Kudos
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

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.

0 Kudos
RPGIS
by MVP Regular Contributor
MVP Regular Contributor

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.

0 Kudos