Select to view content in your preferred language

Passing Value from One Survey to Another

3023
5
Jump to solution
08-13-2020 08:57 AM
DaveK
by
Frequent Contributor

Hello!

I have a survey that is being used by users for data collection that contain a few hidden fields to be used by admin users on the back end. Is it possible to populate another survey with the values from the lower level user survey? My goal would be to have admin access the new survey with the hidden fields accessible to them. 

Thanks! 

Tags (2)
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Hi David,

Yes, this is possible using the Inbox in the field app. There are a few ways it can be done, but one simple way is to use a second survey that has the additional questions (not hidden) which can be edited by the admin. To set this up you base the second survey from the same feature service as the original survey and enable the Inbox only on that second survey.

As for access to the two surveys, you can then only share the initial survey (for collecting) with those users who need it, and then share the second survey only with the admins.

You can also edit surveys using the survey123 website and web app and use URL parameters to control the editing workflow. This could also be done with a second survey for admins based on the original survey design with additional questions.

We see many customers using Survey123 in this way to have a submitter and review workflow. Here are some resources to help you get started:

Prepare for editing existing survey data—ArcGIS Survey123 | Documentation 

Edit existing survey data—ArcGIS Survey123 | Documentation 

Use Survey123 with existing feature layers—ArcGIS Survey123 | Documentation 

Integrate with other apps—ArcGIS Survey123 | Documentation 

Regards,

Phil.

View solution in original post

5 Replies
by Anonymous User
Not applicable

Hi David,

Yes, this is possible using the Inbox in the field app. There are a few ways it can be done, but one simple way is to use a second survey that has the additional questions (not hidden) which can be edited by the admin. To set this up you base the second survey from the same feature service as the original survey and enable the Inbox only on that second survey.

As for access to the two surveys, you can then only share the initial survey (for collecting) with those users who need it, and then share the second survey only with the admins.

You can also edit surveys using the survey123 website and web app and use URL parameters to control the editing workflow. This could also be done with a second survey for admins based on the original survey design with additional questions.

We see many customers using Survey123 in this way to have a submitter and review workflow. Here are some resources to help you get started:

Prepare for editing existing survey data—ArcGIS Survey123 | Documentation 

Edit existing survey data—ArcGIS Survey123 | Documentation 

Use Survey123 with existing feature layers—ArcGIS Survey123 | Documentation 

Integrate with other apps—ArcGIS Survey123 | Documentation 

Regards,

Phil.

DaveK
by
Frequent Contributor

Hey Philip, 

I set up a new admin survey using the original surveys feature service. This created a new admin survey matching the original survey that I edited to show the hidden fields. Once the admin survey is published, should I see the original surveys records populated within the admin surveys feature service in AGO? 

Thanks.

0 Kudos
by Anonymous User
Not applicable

Hi David,

When you publish the new admin survey that is based on the existing feature service of the original survey, it will not create a new feature service, it will be using the same feature service as the original survey, so it will have access to the same data.

Therefore if you enable the Inbox on the admin survey, you can then open the existing survey records in edit mode, and have the admin edit them to update the additional questions/fields, and submit, which will update those original records on the original surveys, as they are the same records in the same feature service.

Regards,

Phil.

DaveK
by
Frequent Contributor

Thanks Philip! This worked wonderfully! 

AlexSteiner
Emerging Contributor

Thank you for this response! Is it possible pass values from one survey to a public survey that is accessible to unnamed users? I am developing a workflow that needs this ability.

We have a publicly accessible survey that generates a unique ID and is passed to an "admin-side" survey for approval, which appears to work properly.

When the admin-side survey is submitted, the values are sent in a PDF via E-mail, and we wish to include a link to a second publicly accessible survey that is associated with the first public survey by including the same unique ID generated in the first public survey



So the unique ID needs to flow through the surveys as follows:

Public Survey 1 --> Admin-side survey --> Public Survey 2

Is it possible to do this?

 

Thanks!

0 Kudos