Using pulldata to gather live weather data

1543
3
05-21-2020 10:09 AM
AndrewSD
New Contributor III

Hello,

I have a Survey123 to collect data for environmental monitoring. I have a Geopoint feature and I wanted to see if it is possible to use the new pulldata function to get live weather data for those points. I know that I need to write a Javascript (learning about creating that now!) and then have that call an API from OpenWeather. Has anyone done this before and have any guidance?

Thank you,

Andrew 

0 Kudos
3 Replies
Shwu-jingJeng
Esri Regular Contributor

Hi Andrew,

If you register Survey123 early adopter site, you may want to take a look at this document. This document provided an OpenWeather sample to demo how to use custom pulldata javascript function:

Survey123>Documentation>Custom pulldata() JavaScript Functions

Welcome to our Customer Validation site. 

KatieHansen_NIFCAdmin
New Contributor III

Hello,

Is this document with the sample demo still available? I do not see it in the Early Adopter site any longer.

Thank you

0 Kudos
Shwu-jingJeng
Esri Regular Contributor

Hi Katie,

The post in EAC is no longer available at EAC but you can check this GeoNet post for the same topic here:

https://community.esri.com/groups/survey123/blog/2020/08/07/extending-survey123-smart-forms-with-cus...