<?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: Javascript functions suddently not working? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118492#M38742</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491493"&gt;@Jordi-Monk-Developer&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to reproduce the behavior on my end, I've tested with Connect 3.13.249 and Field App 3.13.244 and the results from the JS functions were submitted to the feature service. I've attached a copy of the survey that I had tested with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible would we be able to obtain a copy of the survey for testing on our end?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 00:46:57 GMT</pubDate>
    <dc:creator>ZacharySutherby</dc:creator>
    <dc:date>2021-11-19T00:46:57Z</dc:date>
    <item>
      <title>Javascript functions suddently not working?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118241#M38720</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have been using a JS function within our Survey123 surveys for months, with no issues. The JS function was a single-line one, which simply created an 8-digit timestamp. It was working fine on Nov. 15. Suddenly (Nov. 17), the destination field in the corresponding feature layer in AGOL is null.&lt;BR /&gt;&lt;BR /&gt;We have tested creating a survey from scratch, in Connect, starting from the Advanced template and simply modifying it to introduce a calculate row with a "HelloWorld" JS function. Same result.&lt;BR /&gt;&lt;BR /&gt;We have tested publishing the survey to 2 different AGOL organizations. Same result.&lt;/P&gt;&lt;P&gt;We have updated Connect from 3.13.239 to 3.13.249 (the latest as of this moment). Same result.&lt;BR /&gt;&lt;BR /&gt;If we remove the JS function and introduce whatever other data-creation method (like, for instance, &lt;SPAN&gt;pulldata("@property", 'language')), the data is created fine and populates the target feature layer.&lt;BR /&gt;&lt;BR /&gt;We are scractching our heads here...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 16:52:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118241#M38720</guid>
      <dc:creator>Jordi-Monk-Developer</dc:creator>
      <dc:date>2021-11-18T16:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript functions suddently not working?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118492#M38742</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/491493"&gt;@Jordi-Monk-Developer&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not able to reproduce the behavior on my end, I've tested with Connect 3.13.249 and Field App 3.13.244 and the results from the JS functions were submitted to the feature service. I've attached a copy of the survey that I had tested with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible would we be able to obtain a copy of the survey for testing on our end?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 00:46:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118492#M38742</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2021-11-19T00:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript functions suddently not working?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118694#M38757</link>
      <description>&lt;P&gt;Thanks for the help,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;. I need to check with my employer. We might need to send it via Support. If that is the case, I will update this thread with the results. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 15:50:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1118694#M38757</guid>
      <dc:creator>Jordi-Monk-Developer</dc:creator>
      <dc:date>2021-11-19T15:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript functions suddently not working?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1119188#M38784</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/251557"&gt;@ZacharySutherby&lt;/a&gt;&amp;nbsp;Everything is back to normal this morning. WITHOUT having modified anything on our side in the meantime, all (3+) surveys that were failing to write data generated from JS functions now work fine.&lt;BR /&gt;&lt;BR /&gt;Thank you. Case closed.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 14:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/javascript-functions-suddently-not-working/m-p/1119188#M38784</guid>
      <dc:creator>Jordi-Monk-Developer</dc:creator>
      <dc:date>2021-11-22T14:55:06Z</dc:date>
    </item>
  </channel>
</rss>

