Calculate Survey123 username

1749
3
01-31-2017 11:19 AM
deleted-user-gMl5z3oultvj
New Contributor II

I would like to capture the AGOL login credentials and use .csv lookup to equate the AGOL user to our internal Active Directory account user names.  Is there a variable name I can use in the calculate or pulldata function that will get the username that was used to startup Survey123?

0 Kudos
3 Replies
JamesTedrick
Esri Esteemed Contributor

The username question type will grab the AGOL login name; that can then be used with pulldata.

CarlHolt1
Occasional Contributor III

Would this be an appropriate pulldate equation?

pulldata('inspector', 'insp_name', 'insp_name', ${username})
0 Kudos
JamesTedrick
Esri Esteemed Contributor

The formula you provided has the column you want to get from the CSV as the same as the column you use to lookup the value - they need to be different columns.