Select to view content in your preferred language

Auto-populate a field in Survey123 based on the survey taker's login info

4489
4
Jump to solution
08-19-2019 10:14 AM
by Anonymous User
Not applicable

Is it possible to auto-populate a field in Survey123 (for example, fire rescue unit number) based on the survey taker's login info? Thanks!

0 Kudos
1 Solution

Accepted Solutions
TexasMike
Occasional Contributor

Have you checked out using a pulldata function? We use it to accomplish something similar to your use case. Here is a post that explains how it works. https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-da... 

View solution in original post

4 Replies
by Anonymous User
Not applicable

You can use the "username" and "email" question types to automatically record the person that is "Logged into" the survey123 application.

Quick reference—Survey123 for ArcGIS | ArcGIS 

0 Kudos
by Anonymous User
Not applicable

Thank you. Maybe I did not state my question correctly - I have already included the username and email fields in my survey (which are hidden, of course). What I am trying to do is have another survey question (Fire Rescue Unit Identifier - engine number), that would be auto-populated based on username. This question would be visible in the survey. For example, for user Bruce Miller from Engine 12, based on his username bmiller, the Unit Identifier survey question would auto-populate Engine 12.

0 Kudos
TexasMike
Occasional Contributor

Have you checked out using a pulldata function? We use it to accomplish something similar to your use case. Here is a post that explains how it works. https://community.esri.com/groups/survey123/blog/2016/10/27/the-pulldata-function-access-external-da... 

by Anonymous User
Not applicable

Yes! That is exactly what I ended up using. I created a pulldata formula and it worked perfectly. Thanks!

0 Kudos