Select to view content in your preferred language

Reference submissions from active survey

644
3
09-26-2023 06:23 AM
leahmaps
Frequent Contributor

Hello! 

I am trying to figure out a functionality or workflow for referencing a point in one survey and pulling it into another.

Survey A is a private, active survey, but I want Survey B to be able to reference the submissions in Survey A.

Overall, I want people to be able to do multiple submissions per point, acting as a way to submit comments that do not edit the original information in Survey A. 

Is there a good way to do this?

Currently, my solution is to use the map question where the base map references the submission points from Survey A. That way people can snap a point to ones from Survey A.

However, it would be nice to populate some data from Submission A directly in Survey B so they know they are at the right point (i.e. when a point is selected, it returns a read-only text box with the name of the original Survey A submission).

Any help is appreciated! Happy to elaborate more if needed.

 

0 Kudos
3 Replies
clt_cabq
Frequent Contributor

you can definitely load values from an existing feature class and have those fields set to 'read only'. Look up 'integrating survey 123 with existing feature class' for some reading material on this - here is a link to a blog article that addresses at least some of this:

s123 and existing feature services 

I am assuming that data from survey A will always exist before survey B is conducted? You may want to pay attention to how this is all structured in the back end, I would keep data in both surveys in separate table, so that you can properly relate data from A to B and the other direction as well.

 

0 Kudos
DougBrowning
MVP Esteemed Contributor

You could use a launch URL and pass the info over.

In 123 you can open Submission A from the outbox or sent box and have a URL in there to launch B and pass over the info.  This would work offline.

If you are online you can add the 123 service to Field Maps and launch from A pushing to B.

This page is a good place to start https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm 

 

A different idea is put the comments in a repeat then block the parent fields from being able to be edited using the tips offered here  https://community.esri.com/t5/arcgis-survey123-questions/editing-from-inbox-can-i-make-some-fields-r... 
I normally do not like having people keep editing the same form but in your case since you want the locations the same it is worth considering.

 

Hope that helps

0 Kudos
leahmaps
Frequent Contributor

Thanks for the suggestions @DougBrowning and @clt_cabq ! I was exploring a bit on Survey123 Web some more and almost thought I found a web-only solution. 

In a field Calculation, it looks like you should be able to reference a layer in AGOL (from survey A) and choose a field to auto-populate the text in Survey B when you snap a point to the same location on a map question. 

This calculation sample I have comes from the text field restaurant name, but appears that it should be able to grab the chosen field from the point layer and calculate it into the text field when the point on the map snaps to the points from Survey A. 

leahmaps_1-1695750665975.png

However, this doesn't actually seem to populate anything. Have either of you tried something like this or worked with calculations in web designer? I want to keep Survey A and B (in terms of data) separate, but just have the ability to call names from submission A into B.

 

 

0 Kudos