<?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 Pulldata using JSON script 'mostly dead' in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-using-json-script-mostly-dead/m-p/1521669#M58484</link>
    <description>&lt;P&gt;I have a public Survey123 form with an associated Script for pulling 3 attributes from 3 public feature layers (all polygons; i.e., County). Selected geopoints would then have the additional attributes (hidden questions) added in the data.&lt;BR /&gt;The script and form were pulling attributes from the public feature layers just fine, then unbeknownst to me, it stopped pulling in those attributes. I did not change those hidden questions in the form, nor did I change the JSON script. I also checked and those feature layers I want to pull from are all still public.&lt;BR /&gt;The kicker: I went into the Survey123 data to edit an observation, and as soon as I edited it, the pulldata apparently worked. When I edit a record it successfully performs a 'pulldata' and fills the 3 fields just as it was originally doing, and it pulled the correct attributes for that geopoint etc.&lt;BR /&gt;1. Any idea what caused these pulldata lines in the S123 form to suddenly stop working?&lt;BR /&gt;2. Why would a pulldata only work if I edit a record within the data tab of Survey123 web page?&lt;BR /&gt;3. As much as I'd like to know the answers to 1. &amp;amp; 2., I would greatly appreciate any tips to get the pulldata functions working again as the data comes in.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 17:52:09 GMT</pubDate>
    <dc:creator>mmike_biologist</dc:creator>
    <dc:date>2024-08-14T17:52:09Z</dc:date>
    <item>
      <title>Pulldata using JSON script 'mostly dead'</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-using-json-script-mostly-dead/m-p/1521669#M58484</link>
      <description>&lt;P&gt;I have a public Survey123 form with an associated Script for pulling 3 attributes from 3 public feature layers (all polygons; i.e., County). Selected geopoints would then have the additional attributes (hidden questions) added in the data.&lt;BR /&gt;The script and form were pulling attributes from the public feature layers just fine, then unbeknownst to me, it stopped pulling in those attributes. I did not change those hidden questions in the form, nor did I change the JSON script. I also checked and those feature layers I want to pull from are all still public.&lt;BR /&gt;The kicker: I went into the Survey123 data to edit an observation, and as soon as I edited it, the pulldata apparently worked. When I edit a record it successfully performs a 'pulldata' and fills the 3 fields just as it was originally doing, and it pulled the correct attributes for that geopoint etc.&lt;BR /&gt;1. Any idea what caused these pulldata lines in the S123 form to suddenly stop working?&lt;BR /&gt;2. Why would a pulldata only work if I edit a record within the data tab of Survey123 web page?&lt;BR /&gt;3. As much as I'd like to know the answers to 1. &amp;amp; 2., I would greatly appreciate any tips to get the pulldata functions working again as the data comes in.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 17:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-using-json-script-mostly-dead/m-p/1521669#M58484</guid>
      <dc:creator>mmike_biologist</dc:creator>
      <dc:date>2024-08-14T17:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pulldata using JSON script 'mostly dead'</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-using-json-script-mostly-dead/m-p/1521694#M58486</link>
      <description>&lt;P&gt;I think your issue is the public + javascript combination. You can pulldata @layer in public surveys, but you can't use javascript.&lt;/P&gt;&lt;P&gt;"J&lt;SPAN class=""&gt;avaScript&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions are only supported in forms completed by users in the same organization as the form author."&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 18:25:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-using-json-script-mostly-dead/m-p/1521694#M58486</guid>
      <dc:creator>DuncanC</dc:creator>
      <dc:date>2024-08-14T18:25:12Z</dc:date>
    </item>
  </channel>
</rss>

