<?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: Survey123 Website Does Not Display Data from Portal in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835487#M19516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a little hard to see with the way the URL auto-shortening has altered the URLs, but the 'Access-Control-Origin' indicates that your portal is not setup properly for cross-domain access, which is needed in the case of Survey123's website to connect to portal. &amp;nbsp;&lt;A class="link-titled" href="https://enable-cors.org" title="https://enable-cors.org"&gt;https://enable-cors.org&lt;/A&gt;&amp;nbsp; provides information on what is required, why, and how to implement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 18:05:52 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-04-18T18:05:52Z</dc:date>
    <item>
      <title>Survey123 Website Does Not Display Data from Portal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835486#M19515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running 10.5.1 Portal and trying to connect to Survey123 Website.&amp;nbsp; I can see statistics on my surveys, I can download the data from my surveys, but I cannot see the data on the Data tab or use the report writer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Message:&lt;/P&gt;&lt;P&gt;Failed to load &lt;A href="https://comet.pennichuck.com/portal/sharing/generateToken?request=getToken&amp;amp;serverUrl=https%3A%2F%2Fcomet.pennichuck.com%2Farcgis%2Frest%2Fservices%2FHosted%2Fservice_f402d3c7576e4e669bce122b15f7e504%2FFeatureServer%2F0&amp;amp;token=_lZq_EolwIMkgTCf-NJqux5vEBhEtOvOkFTiVKN7MRlgx065Ixhv_bNZGLdcS2gPdB7AC97eAc527bH6c8Jjn-p-L50LLe7AgAzVNGy2CnoA7Lkd-XDFR1PsrQJFOyz4LvyCVhQpp24IQtfNH883OEBqkmP8vn2H_i-bWwHahaSAl8Qp07od85iMaNU9vifxNsSjilGXMcywKoGtNb2PXQ..&amp;amp;referer=survey123.arcgis.com&amp;amp;f=json"&gt;https:/XXX.com/portal/sharing/generateToken?request=getToken&amp;amp;serverUrl=https%3A%2F%2Fcomet.pennichuck.com%2Farcgis%2Frest%2Fservices%2FHosted%2Fservice_f402d3c7576e4e669bce122b15f7e504%2FFeatureServer%2F0&amp;amp;token=_lZq_EolwIMkgTCf-NJqux5vEBhEtOvOkFTiVKN7MRlgx065Ixhv_bNZGLdcS2gPdB7AC97eAc527bH6c8Jjn-p-L50LLe7AgAzVNGy2CnoA7Lkd-XDFR1PsrQJFOyz4LvyCVhQpp24IQtfNH883OEBqkmP8vn2H_i-bWwHahaSAl8Qp07od85iMaNU9vifxNsSjilGXMcywKoGtNb2PXQ..&amp;amp;referer=survey123.arcgis.com&amp;amp;f=json&lt;/A&gt;&lt;SPAN&gt;: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsurvey123.arcgis.com" rel="nofollow" target="_blank"&gt;https://survey123.arcgis.com&lt;/A&gt;&lt;SPAN&gt;' is therefore not allowed access. The response had HTTP status code 401.&lt;/SPAN&gt;&lt;BR /&gt;init.js:89 f&amp;nbsp;{message: "Unable to load &lt;A href="https://comet.pennichuck.com/portal…Q..&amp;amp;referer=survey123.arcgis.com&amp;amp;f=json"&gt;https://xxx.com/portal…Q..&amp;amp;referer=survey123.arcgis.com&amp;amp;f=json&lt;/A&gt; status: 0", response: {…}, status: 0, responseText: "", xhr: XMLHttpRequest,&amp;nbsp;…}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2018 21:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835486#M19515</guid>
      <dc:creator>BrysonKoziell</dc:creator>
      <dc:date>2018-04-17T21:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Website Does Not Display Data from Portal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835487#M19516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a little hard to see with the way the URL auto-shortening has altered the URLs, but the 'Access-Control-Origin' indicates that your portal is not setup properly for cross-domain access, which is needed in the case of Survey123's website to connect to portal. &amp;nbsp;&lt;A class="link-titled" href="https://enable-cors.org" title="https://enable-cors.org"&gt;https://enable-cors.org&lt;/A&gt;&amp;nbsp; provides information on what is required, why, and how to implement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 18:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835487#M19516</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-04-18T18:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Website Does Not Display Data from Portal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835488#M19517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also using Portal for ArcGIS 10.5.1 with Survey123, version 3.0 and getting a similar issue.&amp;nbsp; My survey publishes OK, and I'm able to view it in my Survey123 app, but the CORS error occurs when I attempt to run the survey in a browser, whether that be IE, Firefox or Chrome: the same error occurs.&amp;nbsp; I've tried adding the following to my Default web site on the Portal server.&amp;nbsp; I've also tried adding them to the web adaptor only:&lt;/P&gt;&lt;P&gt;&amp;lt;add name="Access-Control-Allow-Origin" value="*" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Headers" value="Content-Type" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This makes no difference and same error occurs.&amp;nbsp; Here's the error message in my browser's console:&lt;/P&gt;&lt;P&gt;SEC7120 Origin &lt;A href="https://survey123.arcgis.com"&gt;https://survey123.arcgis.com&lt;/A&gt; not found in Access-Control-Allow-Origin header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've even tried this:&lt;/P&gt;&lt;P&gt;&amp;lt;add name="Access-Control-Allow-Origin" value=&lt;A href="https://survey123.arcgis.com"&gt;https://survey123.arcgis.com&lt;/A&gt; /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried with just Access-Control-Allow-Origin, without the&amp;nbsp;Access-Control-Allow-Headers or Access-Control-Allow-Methods, but it made no difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 22:36:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-website-does-not-display-data-from/m-p/835488#M19517</guid>
      <dc:creator>MarkNorbury</dc:creator>
      <dc:date>2018-07-17T22:36:22Z</dc:date>
    </item>
  </channel>
</rss>

