<?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: Survey shows &amp;quot;JavaScript functions disabled&amp;quot; despite users both belonging to same organization in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166884#M42300</link>
    <description>&lt;P&gt;&lt;STRONG&gt;This has been resolved:&lt;/STRONG&gt; The end user was not logged-in when using the survey. Once the user logged-in the JS function executed as expected.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2022 22:45:40 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2022-04-21T22:45:40Z</dc:date>
    <item>
      <title>Survey shows "JavaScript functions disabled" despite users both belonging to same organization</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166214#M42234</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We have two accounts that are trying to use the same survey. This survey uses a JS script that is attached to the form. However, when the second account tries to access the form, the survey is populated with a "JavaScript functions disabled". I know that this is for security reasons, that the user needs to be in the same organization as the creator of the JS function.&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are both part of the same University of Maryland organization, both in uofmd.maps.arcgis.com. The survey is shared with the organization, and also with a group of which both accounts are members.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Creator account:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NASAHarvest_0-1650470591815.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39444i4DD54DF96258F632/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NASAHarvest_0-1650470591815.png" alt="NASAHarvest_0-1650470591815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Collector Account:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NASAHarvest_1-1650470675205.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39445i6EB4ED5393F1FB82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NASAHarvest_1-1650470675205.png" alt="NASAHarvest_1-1650470675205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see above, it is the same URL, same Subscription ID, same administrators, and different accounts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there something else I am missing that would prevent a JS function from being called in the Collector account? I can confirm the function works and everything when logged into the creator's account. Maybe a setting somewhere?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: Ends up, the end user was not logged in to the correct account. Once they logged on to the correct account, they were able to see the correct JS display.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 22:58:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166214#M42234</guid>
      <dc:creator>NASAHarvest</dc:creator>
      <dc:date>2022-04-21T22:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Survey shows "JavaScript functions disabled" despite users both belonging to same organization</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166480#M42256</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/459802"&gt;@NASAHarvest&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you taking the survey in the Survey123 field app or the Survey123 web app?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 00:48:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166480#M42256</guid>
      <dc:creator>ZacharySutherby</dc:creator>
      <dc:date>2022-04-21T00:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Survey shows "JavaScript functions disabled" despite users both belonging to same organization</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166884#M42300</link>
      <description>&lt;P&gt;&lt;STRONG&gt;This has been resolved:&lt;/STRONG&gt; The end user was not logged-in when using the survey. Once the user logged-in the JS function executed as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 22:45:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-shows-quot-javascript-functions-disabled/m-p/1166884#M42300</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2022-04-21T22:45:40Z</dc:date>
    </item>
  </channel>
</rss>

