<?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(@javascript) error, can't access extensions folder in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836485#M19768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error indicates a problem with your JavaScript file - there's something in it that isn't valid. &amp;nbsp;Looking at the file, there is an issue with the second object in the array &lt;EM&gt;data&lt;/EM&gt; - it's missing the leading { . &amp;nbsp;You may want to use a resource like&amp;nbsp;&lt;A class="link-titled" href="https://jslint.com" title="https://jslint.com"&gt;JSLint:&amp;nbsp;The&amp;nbsp;JavaScript&amp;nbsp;Code Quality Tool&lt;/A&gt;&amp;nbsp;to check the file - I can also see an issue in the function search (searchValue1 vs. SearchValue1).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Feb 2020 20:38:45 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2020-02-27T20:38:45Z</dc:date>
    <item>
      <title>pulldata(@javascript) error, can't access extensions folder</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836482#M19765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to implement the pulldata(@javascript) functionality for a lookup table function. I'm using the @javascript option instead of csv because the language we need to pull has commas in it, and I was hoping this would be a good solution to pull those values through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I go to implement the pulldata function though, I get the following error in the Survey123 Connect display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/483412_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't mind it calling the toCelsius function, I was trying to use that as a test to eliminate my function as the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a zipped-up version of my form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836482#M19765</guid>
      <dc:creator>RogerCleaves1</dc:creator>
      <dc:date>2020-02-26T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata(@javascript) error, can't access extensions folder</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836483#M19766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you logged in to Survey123.&amp;nbsp; I had the same error on previously working JavaScript and realized I was logged out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:16:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836483#M19766</guid>
      <dc:creator>BobHenry1</dc:creator>
      <dc:date>2020-02-27T15:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata(@javascript) error, can't access extensions folder</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836484#M19767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yep, logged into AGOL. I also logged out and then back in to verify I had a good connection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:51:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836484#M19767</guid>
      <dc:creator>RogerCleaves1</dc:creator>
      <dc:date>2020-02-27T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata(@javascript) error, can't access extensions folder</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836485#M19768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error indicates a problem with your JavaScript file - there's something in it that isn't valid. &amp;nbsp;Looking at the file, there is an issue with the second object in the array &lt;EM&gt;data&lt;/EM&gt; - it's missing the leading { . &amp;nbsp;You may want to use a resource like&amp;nbsp;&lt;A class="link-titled" href="https://jslint.com" title="https://jslint.com"&gt;JSLint:&amp;nbsp;The&amp;nbsp;JavaScript&amp;nbsp;Code Quality Tool&lt;/A&gt;&amp;nbsp;to check the file - I can also see an issue in the function search (searchValue1 vs. SearchValue1).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 20:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836485#M19768</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2020-02-27T20:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: pulldata(@javascript) error, can't access extensions folder</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836486#M19769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I had a few issues, thanks for the JSLint tip, that helped a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I had solved it, but ran into an issue where it wouldn’t load the changes. However, upon googling like crazy, I found a reply that someone wrote that said if you close Connect all the way and then re-open it, the changes should load through. Ta-da!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2020 23:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulldata-javascript-error-can-t-access-extensions/m-p/836486#M19769</guid>
      <dc:creator>RogerCleaves1</dc:creator>
      <dc:date>2020-02-27T23:54:54Z</dc:date>
    </item>
  </channel>
</rss>

