Creating Pull Data Functions in ArcGIS Survey123 Connect

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 24

  • @Laydata
    @Laydata Рік тому +1

    Thank you so much, Adam! You saved my project, your video was super clear, just awesome.

  • @hananiaweissler2546
    @hananiaweissler2546 10 місяців тому

    This was so helpful! Thank you for sharing this type of content!

  • @apluseod
    @apluseod Рік тому

    Thank you Adam, I have been struggling with this topic for some time now. Thanks again and keep creating great content like this!!

  • @davidpinkney7301
    @davidpinkney7301 9 місяців тому

    Greetings from NZ, Nice one.

  • @vic70ria
    @vic70ria 4 місяці тому

    This is exactly what I needed today, and the bonus really helped too. Thanks!

  • @mikemakesmaps
    @mikemakesmaps Рік тому

    greetings from SLC UT - really appreciate this!!

  • @alialmusri8381
    @alialmusri8381 2 місяці тому +1

    Thanks Adam so much..

  • @Lucav-howto
    @Lucav-howto Рік тому

    Very much insightful. Your video solved my problem

  • @siddartha1979
    @siddartha1979 2 місяці тому

    Great video. thanks!

  • @AthenaAli-i3k
    @AthenaAli-i3k Рік тому

    This is great. Thank you

  • @teresablader_1
    @teresablader_1 10 місяців тому +1

    Thanks!! What if the field contains a string with an inverted comma? How do I write the concat? Right now it won't match the field with that.

  • @iliketurtles8594
    @iliketurtles8594 Рік тому +2

    Hi Adam, Thanks fot this video that was awesome. This makes my job a lot easier. I have a question. What happens if i pass 1 point and 2 polygons intersect with it. Can i give the user the opportunity to select the one they want to send?

    • @adam_corcoran
      @adam_corcoran  Рік тому +1

      Hey there! Great question. In Survey123 Connect, when you use the pulldata("@geopoint") function with the getValueAt parameter to query a feature service based on a geopoint, it generally returns the attributes of the first polygon it intersects with, if the point intersects multiple polygons.
      Unfortunately, as of now, there isn't a built-in way in Survey123 Connect to let the user choose from multiple intersecting polygons directly through this function.
      But here are a couple of workarounds that might help:
      First, have the user place a point where the intersection happens.
      Then, provide a list (maybe a "select_one" question) that shows all polygons intersecting that point, which you would need to populate programmatically based on the point’s coordinates.
      Once the user selects a polygon from this list, you can use the pulldata() function to pull the attributes of the selected polygon into subsequent questions in the survey.
      Survey123 Connect lets you write custom JavaScript functions in your survey's XLSForm.
      You could write a custom function that takes a geopoint as input, queries a feature service for intersecting polygons, and returns a list of intersecting polygon names/IDs.
      Then, use this list to populate a "select_one" question, allowing the user to select which polygon’s attributes they want to use in the survey.
      I hope this helps! Be sure to check the latest Survey123 Connect documentation or reach out to Esri support for the most up-to-date info. 😊

  • @alessandracorcuera9975
    @alessandracorcuera9975 6 місяців тому

    Hi Adam, the pulldata works just fine in my survey, but the autocomplete search becomes a problem

  • @selemus
    @selemus 4 місяці тому

    I have the same problem when you try to search for Westhill, survey does not find it, but I am using a CSV file, could you explain to me how to solve that problem?

  • @RafaelMonteiro7
    @RafaelMonteiro7 10 місяців тому

    I followed the example and succeeded in creating the form, but the pulldata only works on the desktop or mobile app, it doesn't work on the web. I was told it could be the old version, but I'm using survey123 connect version 3.19. Does anyone know what it could be?

  • @LuisanaIG
    @LuisanaIG Рік тому

    Thanks for the video ^^ It is awesome. I only have one question. I was trying to use pulldata() with a select_multiple type and I can't get the multiple value from the selection, I only get the first one. Do you have any idea how to achive it?

    • @stephanieruby8739
      @stephanieruby8739 3 місяці тому

      did you ever figure this out? currently experiencing this!

  • @diogobichon729
    @diogobichon729 Рік тому

    what if I want to pull data from a layer that is not public? I really need this trick, but with surveys of my organization.

    • @adam_corcoran
      @adam_corcoran  Рік тому +2

      Exact same setup - just make sure your survey user has access to the feature layer they’re pulling data from when they’re signed in 🙏

    • @diogobichon729
      @diogobichon729 Рік тому

      @@adam_corcoran It worked just fine. I was searching for this feature for ages, thank you A LOT.
      Said that, I have one more doubt, I want to pull a select_multiple question, but it only pulls the first value selected, do you know how to make it pull every choices selected?

    • @HarpinJScott
      @HarpinJScott Рік тому

      I've noticed that my pulldata function does not work when using the result of a select_one_from_file.csv. Has anyone else noticed this? I'm using the newest 3.18 version.
      Great video, by the way!

    • @nilssonrichard
      @nilssonrichard 2 місяці тому

      But what if the non public layer is hosted on a different portal than the survey? Something to do with pulldata("@property","token")? Or might the answer lie in webhooks in Survey123? Could you please share an example? Thanks in advance!