Hey! We are working on creating a facilities damage assessment/inspection application using an existing feature service in Survey123.
What we would like to do is somehow use the pulldata() function to pull data from another, different feature service to provide the options to select from (this would help to eliminate inconsistent building naming, address entry, etc). Is this possible to do, or is the only current option for pulldata() to work coming from a CSV file?
has this feature been enabled? thank you
Hi Dan,
Using pulldata to run a custom JavaScript function is still in beta at this time.
Dear James, we will be grateful for more guidance on your suggestion and if possible a small sample we can use as a reference. I work in Humanitarian field and we have issue of finding the right tool for monitoring of our activities. I did try to use the inbox capability of Survey123 in the past but had to abandonne this option because of the poor performance of the search option over 300 items in your inbox. So while we are waiting for this possibility of pulling data from existing feature. Your guidance on your suggestion to people like me with very basic programming skill will be very much appreciated.
Looking forward to this feature. Any idea on how long it will be in beta?
Just wondering what the progress on this is? Also will the JavaScript function work offline? Our inspectors use iPads outside of cellphone connection for electronic surveys, so it would have to work offline for use.
Thanks
It works currently but there are some major issues with it. For one, you can't use pulldata with conditionals and editing an existing entry (either through the mode=edit parameter in the URL or through AGOL) replaces existing data in the field with the pulldata calculation result.
I also have several projects that could benefit from this functionality.
This now can be done by using custom JavaScript functions. Refer to Extending Survey123 smart forms with custom JS functions and the 'JavaScript' sample in Survey123 Connect.
Hello, I am trying to accomplish the following using AGOL. Please let me know if anyone has any advice.
We have a public form for residents to schedule inspections conducted by our municipality. We want public users to be able to self schedule.
Workflow:
Person A: Opens public form, selects Monday August 28th at 8:00 AM, Submits form
Person B: Opens public form, (Cannot Select same day as person A), Selects available date, Submits form.
Wondering if this was ever implemented?