Creating Pull Data Functions in ArcGIS Survey123 Connect

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ย. 2024
  • Creating pulldata Functions in ArcGIS Survey123 Connect: Try out this comprehensive tutorial to learn how to seamlessly pull data from feature layers in the ArcGIS Online. Enhance your surveys with dynamic, data-driven inputs and elevate your GIS workflow.
    Sample pulldataffunction from feature layer: pulldata("@layer", "getValue", "attributes.FIELD_IN_FEATURE_LAYER", 'EXACT_REST_URL_HERE,concat("CODE_FIELD= '", ${YOUR_SURVEY123_FIELD}, "'"))
    Find out more about GIS Express Workshops: learn.gis-expr...

ความคิดเห็น • 24

  • @alialmusri8381
    @alialmusri8381 3 วันที่ผ่านมา +1

    Thanks Adam so much..

  • @Laydata
    @Laydata 10 หลายเดือนก่อน +1

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

  • @vic70ria
    @vic70ria 2 หลายเดือนก่อน

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

  • @apluseod
    @apluseod 11 หลายเดือนก่อน

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

  • @siddartha1979
    @siddartha1979 18 วันที่ผ่านมา

    Great video. thanks!

  • @hananiaweissler2546
    @hananiaweissler2546 7 หลายเดือนก่อน

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

  • @mikemakesmaps
    @mikemakesmaps 10 หลายเดือนก่อน

    greetings from SLC UT - really appreciate this!!

  • @Lucav-howto
    @Lucav-howto 11 หลายเดือนก่อน

    Very much insightful. Your video solved my problem

  • @davidpinkney7301
    @davidpinkney7301 7 หลายเดือนก่อน

    Greetings from NZ, Nice one.

  • @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. 😊

  • @teresablader_1
    @teresablader_1 7 หลายเดือนก่อน +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.

  • @selemus
    @selemus 2 หลายเดือนก่อน

    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?

  • @AthenaAli-i3k
    @AthenaAli-i3k 10 หลายเดือนก่อน

    This is great. Thank you

  • @alessandracorcuera9975
    @alessandracorcuera9975 3 หลายเดือนก่อน

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

  • @LuisanaIG
    @LuisanaIG 10 หลายเดือนก่อน

    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 หลายเดือนก่อน

      did you ever figure this out? currently experiencing this!

  • @RafaelMonteiro7
    @RafaelMonteiro7 8 หลายเดือนก่อน

    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?

  • @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 11 หลายเดือนก่อน

      @@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 11 หลายเดือนก่อน

      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 18 วันที่ผ่านมา

      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!