Select to view content in your preferred language

Multiple surveys editing same feature layer based on common response?

972
3
07-10-2023 11:17 AM
Alec
by
Emerging Contributor

I have 3 surveys that are all filled out at different times by different people. All the surveys start off with a common identifier (street_name). The feature layer that they are all updating contains the street_name field along with attributes that will only be filled out by certain surveys. Is there a way I can make the surveys  populate the fields of the attribute that matches with the answer for street_name?
e.g analyst1 fills out a survey and answers "center street" for street_name. analyst2 fills out a different survey and answers "center street" for the street name. analyst2's answers will populate the same attribute that analyst1 populated because the value for street_name was the same .

I've read through this 
https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-laye...
and this (among other resources)

https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm#ESRI_SECTION1_BB97985...

It seems like pulldata("@layer") could almost work but i'm unable to figure out how to update the same layer. 

Thank you !

Tags (1)
0 Kudos
3 Replies
IsmaelChivite
Esri Notable Contributor

Hi. Have a look at this: https://www.youtube.com/watch?v=aGTPIzTtbSk  It shows how existing records can be updated from the Survey123 mobile app.

To have your survey update records from an existing layer, in Survey123 Connect go to New Survey - From Feature service. Select your feature service and a bare bones survey will be created targeting your existing feature service. Tweak the XLSForm, enable the Inbox and publish.

More resources: 

https://doc.arcgis.com/en/survey123/desktop/create-surveys/survey123withexistingfeatureservices.htm#... 

https://doc.arcgis.com/en/survey123/desktop/get-answers/editexistingdata.htm#ESRI_SECTION1_47C2CB834...

https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm 

https://www.youtube.com/watch?v=3SEK37wC_C8 

 

0 Kudos
Alec
by
Emerging Contributor

Thank you! I have all surveys built on the existing Feature service. (tested, they all update the same Feature service.) Since all the analysts are using the surveys via the Survey123 website, doing this through the inbox is no possible. Is there a way to edit the existing feature service if all the users are web based?

0 Kudos
IsmaelChivite
Esri Notable Contributor

You can also use the Survey123 web app to edit existing records. However, it is a bit more involved. Check this for details.

https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-editing-records-in...