<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Search() and pulldata() with feature service in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318922#M51192</link>
    <description>&lt;P&gt;Attaching an XLSForm example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I use search() to populate a country list using a World Countries layer&lt;/LI&gt;&lt;LI&gt;Then I use pulldata("@layer") to populate other questions in the form (iso code, land rank, etc) for the selected country&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Search Pulldata.gif" style="width: 676px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78156i5EB7BF91E54A8ABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search Pulldata.gif" alt="Search Pulldata.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I followed the lead from&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;&amp;nbsp;and created a simple example for you.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Aug 2023 21:51:00 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2023-08-15T21:51:00Z</dc:date>
    <item>
      <title>Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1247997#M46929</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm designing a route control to record daily routes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a select one question with search('nametable?url=...') for a list of buses from a feature service.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I would like other fields to auto-populate with the attributes when a bus is selected. It would be with the same bus feature service that I use before.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How should i use pulldata()?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1247997#M46929</guid>
      <dc:creator>RaynerCastro</dc:creator>
      <dc:date>2023-01-13T11:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1247998#M46930</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;operation is performed on a&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/layer-feature-service-.htm" target="_blank" rel="noopener"&gt;feature service layer resource&lt;/A&gt;&lt;SPAN&gt;. The result of this operation is either a feature set or an array of feature IDs (if&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;returnIdsOnly&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;) and/or a result extent (if&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;returnExtentOnly&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;is set to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1247998#M46930</guid>
      <dc:creator>DeloresLoe</dc:creator>
      <dc:date>2023-01-13T11:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1248025#M46931</link>
      <description>&lt;P&gt;It sounds to me that you would be using the search appearance to populate a select one question and then based on the user's selection additional follow-on fields will autopopulate from the feature service. If that's the case, you would use pulldata @layer&amp;nbsp;to grab the JSON of the entire record and then use pulldata&amp;nbsp;@json to parse out individual attributes.&lt;/P&gt;&lt;P&gt;I would recommend looking at the Query Feature Layer sample in Connect for examples on how to build out the syntax.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JenniferAcunto_0-1673616346052.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60387i49057ADEBF44517D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JenniferAcunto_0-1673616346052.png" alt="JenniferAcunto_0-1673616346052.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 13:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1248025#M46931</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2023-01-13T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318898#M51190</link>
      <description>&lt;P&gt;Did you end up having any luck with this?&lt;/P&gt;&lt;P&gt;Tagging&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;for any pointers with using the search() appearance and using that selection for the pulldata()&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318898#M51190</guid>
      <dc:creator>Tim-Woodfield</dc:creator>
      <dc:date>2023-08-15T21:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318922#M51192</link>
      <description>&lt;P&gt;Attaching an XLSForm example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I use search() to populate a country list using a World Countries layer&lt;/LI&gt;&lt;LI&gt;Then I use pulldata("@layer") to populate other questions in the form (iso code, land rank, etc) for the selected country&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Search Pulldata.gif" style="width: 676px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/78156i5EB7BF91E54A8ABD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Search Pulldata.gif" alt="Search Pulldata.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I followed the lead from&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160974"&gt;@JenniferAcunto&lt;/a&gt;&amp;nbsp;and created a simple example for you.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:51:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318922#M51192</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2023-08-15T21:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Search() and pulldata() with feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318924#M51193</link>
      <description>&lt;P&gt;Thank you! I was in the process of editing my post as I just figured that out. I added an extra step to pull the entire JSON first and then parse but will take that out and add the where clause to the&amp;nbsp;@ layer calculations like you did. Keeps it simpler.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/search-and-pulldata-with-feature-service/m-p/1318924#M51193</guid>
      <dc:creator>Tim-Woodfield</dc:creator>
      <dc:date>2023-08-15T21:54:29Z</dc:date>
    </item>
  </channel>
</rss>

