<?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: pulldata(&amp;quot;@layer&amp;quot;) and multiple records. in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1245734#M46812</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;,&amp;nbsp;if you use the distance parameter (which normally returns all within that distance), does it return the closest feature? Or is there some way to sort this as it's not a field in the dataset?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 18:30:27 GMT</pubDate>
    <dc:creator>ChelseaRozek</dc:creator>
    <dc:date>2023-01-05T18:30:27Z</dc:date>
    <item>
      <title>pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243410#M46663</link>
      <description>&lt;P&gt;I know this is something that just came out a month or two ago but, I just recently came across this blog post about using pulldata("@layer") and I was curious what happens when the getRecord parameter would possibly return more than one record?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-pulldata-quot-layer/ba-p/1224415&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The use case I am experimenting with is we have service requests that technicians go out to peoples properties and do inspections.&amp;nbsp; I was looking at the "Calculate values using an attribute query" example and I wanted to do a query that would grab the last record and prepopulate some attributes in a new survey.&amp;nbsp; I was thinking about using the address of the property but that would return multiple records when there have been multiple inspections at property.&amp;nbsp; Is there a way to limit the getRecord parameter to just the last record and to ignore the others?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The way the data is structured I cant think of any other attributes that would be unique to the resident other than their phone number.&amp;nbsp; But the way people change their phone numbers vs. the land line days could lead to some issues.&amp;nbsp; I am open to any suggestions or ideas and I appreciate your time.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 18:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243410#M46663</guid>
      <dc:creator>durus5995</dc:creator>
      <dc:date>2022-12-22T18:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243495#M46671</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/452047"&gt;@durus5995&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pulldata('@layer') will always return 1 record in the scenario where we want just the last record you can use the orderByFields URL parameter to order by creation date. For example orderByFields=creation_date DESC. Please check out the Query a Feature Layer sample in Connect for an example on how to append additional URL parameters when using pulldata('@layer').&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 00:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243495#M46671</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-12-23T00:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243752#M46690</link>
      <description>&lt;P&gt;I've been working with the pulldata&amp;nbsp;@layer, but it returns nothing,&amp;nbsp; the layer is shared publicly, the url is correct i get no error on the syntax of the calculations, what am i doing wrong ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 12:54:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1243752#M46690</guid>
      <dc:creator>KevinNoelUWI2022</dc:creator>
      <dc:date>2022-12-27T12:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1245734#M46812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;,&amp;nbsp;if you use the distance parameter (which normally returns all within that distance), does it return the closest feature? Or is there some way to sort this as it's not a field in the dataset?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 18:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1245734#M46812</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2023-01-05T18:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1245739#M46813</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/628963"&gt;@KevinNoelUWI2022&lt;/a&gt;&amp;nbsp;what's the full pulldata expression you're using?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 18:31:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1245739#M46813</guid>
      <dc:creator>ChelseaRozek</dc:creator>
      <dc:date>2023-01-05T18:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata("@layer") and multiple records.</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1330988#M51872</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;, is here a way to return many record that respect where query? i'de like to show in 123survey notefield all records that match a sql query with pulldata .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 11:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-quot-layer-quot-and-multiple-records/m-p/1330988#M51872</guid>
      <dc:creator>LouisDECOMBE</dc:creator>
      <dc:date>2023-09-21T11:51:06Z</dc:date>
    </item>
  </channel>
</rss>

