Select to view content in your preferred language

Survey123 Connect Pulldata AGOL user role

173
5
Jump to solution
4 weeks ago
KatieHansen_NIFCAdmin
Regular Contributor

Hello all,

I am looking for a way to use the Pulldata function in Survey123 Connect to pull a user's role from AGOL and create relevant entries just for users in a particular role. I can set up the form to grab the role from a linked csv but I would much prefer to pull from AGOL to gran a live, up to date role from existing accounts. Hopefully I am missing something obvious. 
Thank you

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor

unfortunately doesn't seem to be that property available in 

pulldata("@property")

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

 

Might be possible using 

pulldata("@javascript")

and having a function which sends a query to the REST api?

View solution in original post

0 Kudos
5 Replies
DavidPike
MVP Frequent Contributor

unfortunately doesn't seem to be that property available in 

pulldata("@property")

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

 

Might be possible using 

pulldata("@javascript")

and having a function which sends a query to the REST api?

0 Kudos
KatieHansen_NIFCAdmin
Regular Contributor

Thank you for the response. I have looked through the documentation and did not find anything, but was hoping someone would have a nice work around. I'll look into the @javascript to see if I can make it work. If anyone else has a thought, let me know.
Thanks again, @DavidPike 

0 Kudos
abureaux
MVP Frequent Contributor

Not the first time this has come up.

"No", this isn't currently possible (as @DavidPike already mentioned).

I would suggest you make a post in the Idea section, and then update your post with a link to it for visibility.

0 Kudos
KatieHansen_NIFCAdmin
Regular Contributor
0 Kudos
abureaux
MVP Frequent Contributor

It's worth a lot! Also, voted.

0 Kudos