<?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 GetRecordAt Fails with Service Sublayer in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620548#M62861</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;,&amp;nbsp;thanks for responding. I actually haven't had any troubles with the Lat/Lon values, they populate every time. The issue I'm having is with the PLSS_json line. It's also confusing because I can get successful results consistently with a test layer, in the last line, but not the PLSS_json one.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jun 2025 18:30:42 GMT</pubDate>
    <dc:creator>jfischer91</dc:creator>
    <dc:date>2025-06-03T18:30:42Z</dc:date>
    <item>
      <title>Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620541#M62858</link>
      <description>&lt;P&gt;I'm trying to build a survey that will automatically populate the Township, Range, and Section values when the user drops a point. The pulldata returns JSON when querying the main layer, but returns it intermittently with sublayer 1, hardly ever with sublayer 2, and never with sublayer 3, which is the one I need (PLSS Intersected). Example result in screenshot.&lt;/P&gt;&lt;P&gt;I'm new to Survey123 but after watching&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;'s tutorial about "GetRecordAt", I tested it with a different layer and it works perfectly. The layer I'm trying to query does have a lot of attributes, that's the only thing I can think that would be different. Query is enabled on both and both are public and accessible. Test layer shown as last record in table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="2125px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="191.859px"&gt;decimal&lt;/TD&gt;&lt;TD width="191.922px"&gt;DLat&lt;/TD&gt;&lt;TD width="215.859px"&gt;Latitude (DD)&lt;/TD&gt;&lt;TD width="1524.36px"&gt;round(pulldata("@geopoint", ${location},"y"), 6)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.859px"&gt;decimal&lt;/TD&gt;&lt;TD width="191.922px"&gt;DLon&lt;/TD&gt;&lt;TD width="215.859px"&gt;Longitude (DD)&lt;/TD&gt;&lt;TD width="1524.36px"&gt;round(pulldata("@geopoint", ${location},"x"), 6)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.859px"&gt;text&lt;/TD&gt;&lt;TD width="191.922px"&gt;PLSS_json&lt;/TD&gt;&lt;TD width="215.859px"&gt;PLSS JSON&lt;/TD&gt;&lt;TD width="1524.36px"&gt;pulldata("@layer", "getRecordAt", "&lt;A href="https://services2.arcgis.com/FiaPA4ga0iQKduv3/arcgis/rest/services/Public_Land_Survey_System_view/FeatureServer/3" target="_blank" rel="noopener"&gt;https://services2.arcgis.com/FiaPA4ga0iQKduv3/arcgis/rest/services/Public_Land_Survey_System_view/FeatureServer/3&lt;/A&gt;", ${location})&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="191.859px"&gt;text&lt;/TD&gt;&lt;TD width="191.922px"&gt;GetJSON_TEST&lt;/TD&gt;&lt;TD width="215.859px"&gt;Test JSON&lt;/TD&gt;&lt;TD width="1524.36px"&gt;pulldata("@layer", "getRecordAt", "&lt;A href="https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/World_Administrative_Divisions/FeatureServer/0" target="_blank" rel="noopener"&gt;https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/World_Administrative_Divisions/FeatureServer/0&lt;/A&gt;", ${location})&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:27:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620541#M62858</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T18:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620545#M62860</link>
      <description>&lt;P&gt;Try taking that round out of there.&amp;nbsp; Pulldata really does not like being inside any functions.&amp;nbsp; Gets posted a lot.&amp;nbsp; I do not think you would want to round anyway.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620545#M62860</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-03T18:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620548#M62861</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;,&amp;nbsp;thanks for responding. I actually haven't had any troubles with the Lat/Lon values, they populate every time. The issue I'm having is with the PLSS_json line. It's also confusing because I can get successful results consistently with a test layer, in the last line, but not the PLSS_json one.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620548#M62861</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T18:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620549#M62862</link>
      <description>&lt;P&gt;Ok next it could be returning a really long string.&amp;nbsp; Try setting&amp;nbsp;bind::esri:fieldLength column to something high like 2000.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620549#M62862</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-03T18:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620550#M62863</link>
      <description>&lt;P&gt;I hadn't included that in my main post, but it is already set at 2000. Here's a screenshot of the JSON when I use the "/0" layer, instead of "/3".&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:36:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620550#M62863</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T18:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620552#M62865</link>
      <description>&lt;P&gt;When I look at that service there is no layer 3?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:38:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620552#M62865</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-03T18:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620553#M62866</link>
      <description>&lt;P&gt;The link I included is directly to layer 3, this is the link to the main service:&lt;/P&gt;&lt;P&gt;&lt;A href="https://services2.arcgis.com/FiaPA4ga0iQKduv3/ArcGIS/rest/services/Public_Land_Survey_System_view/FeatureServer" target="_blank"&gt;https://services2.arcgis.com/FiaPA4ga0iQKduv3/ArcGIS/rest/services/Public_Land_Survey_System_view/FeatureServer&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:40:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620553#M62866</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T18:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620556#M62867</link>
      <description>&lt;P&gt;Ok I was on the one above.&amp;nbsp; I wonder if it is the really tight visibility settings?&lt;/P&gt;&lt;P&gt;I would also try even bigger on the size just in case.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 18:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620556#M62867</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-03T18:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620560#M62868</link>
      <description>&lt;P&gt;What do you mean by "visibility settings"? You mean when each layer is visible? I was wondering if that had something to do with it too, if Survey123 queries layers at a certain scale. But I tried zooming way in on the map when placing the point, and that didn't seem to change anything.&lt;/P&gt;&lt;P&gt;I tried increasing the field size to 5000, that didn't help.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 19:09:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620560#M62868</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T19:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620586#M62869</link>
      <description>&lt;P&gt;This seems to point to that and makes some sense&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Performing an Intersect on a Service:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;When performing an intersect analysis on a layer service, the resulting layer will inherit the scale visibility settings of the original layer service.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If the intersect analysis is performed within the layer's defined scale range, the resulting layer will be displayed.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;If the intersect analysis is performed outside of the layer's defined scale range, the resulting layer will not be displayed.&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Jun 2025 20:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620586#M62869</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-03T20:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620604#M62870</link>
      <description>&lt;P&gt;Is it possible that intersect layer is just too big.&amp;nbsp; I loaded it up for a test since it is a public service and the form loads incredibly slow compared to&amp;nbsp; the state level layer.&amp;nbsp; I tested it manually from the rest api and there is no issues, so I wonder if it is just loading the entire layer and it is bogged down?&lt;/P&gt;&lt;P&gt;Do you need the entire US, would it be feasible to export your area of interest and host it yourself?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 20:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620604#M62870</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-06-03T20:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620626#M62872</link>
      <description>&lt;P&gt;Interesting, I'll have to look more into that. I wonder if there's any way to set the scale that Survey123 does the Intersect at.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 22:09:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1620626#M62872</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-03T22:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1621016#M62888</link>
      <description>&lt;P&gt;I'd prefer to avoid self-hosting if possible. I'm new to Survey123, but I assumed that using pulldata would basically just query the REST API anyway, so you're not really loading all the data into anything, it's just using the coordinates you submit. Is that not an accurate statement?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1621016#M62888</guid>
      <dc:creator>jfischer91</dc:creator>
      <dc:date>2025-06-04T22:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata GetRecordAt Fails with Service Sublayer</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1621128#M62891</link>
      <description>&lt;P&gt;Forgot but have you tested setting a relevant on the calls to check for the lat/long being filled in first.&amp;nbsp; like string-length(${DLat}) &amp;gt; 0. I am still not sure on the round as the order of operations it runs the calcs comes up again and again.&amp;nbsp; There are tons of posts of pulldata not working properly when it is inside a function.&amp;nbsp; &amp;nbsp;The form does not run calcs from top to bottom.&amp;nbsp; It does things more by the type.&amp;nbsp; So runs defaults, then appearance, then calcs, then pulldata kind of thing.&amp;nbsp; pulldata is just so picky and you are stringing them together by pulling the lat/long. It could be running the PLSS calls before the lat/long is there. And the fact it happens on all of them.&lt;/P&gt;&lt;P&gt;You could also test calculationMode=always on these just to see.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 12:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-getrecordat-fails-with-service-sublayer/m-p/1621128#M62891</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2025-06-05T12:30:04Z</dc:date>
    </item>
  </channel>
</rss>

