<?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 Access to fetch at ... in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639804#M59732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i,m using Arcgisjava script on my local network and my server has not access to internet. when i load my website, I have this error in console:&lt;/P&gt;&lt;P&gt;Access to fetch at 'https://www.arcgis.com/sharing/rest/portals/self?f=json&amp;amp;culture=en ' from origin&amp;nbsp;'https://Localnetwork.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2019 18:46:43 GMT</pubDate>
    <dc:creator>anjelinaponkerat</dc:creator>
    <dc:date>2019-08-30T18:46:43Z</dc:date>
    <item>
      <title>Access to fetch at ...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639804#M59732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;i,m using Arcgisjava script on my local network and my server has not access to internet. when i load my website, I have this error in console:&lt;/P&gt;&lt;P&gt;Access to fetch at 'https://www.arcgis.com/sharing/rest/portals/self?f=json&amp;amp;culture=en ' from origin&amp;nbsp;'https://Localnetwork.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2019 18:46:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639804#M59732</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-08-30T18:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Access to fetch at ...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639805#M59733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ponkerat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I understand how is your arcgis enterprise setup and where is your javascript is executed/deployed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are few possible way to overcome this issue,&lt;/P&gt;&lt;P&gt;Allow cors at your&amp;nbsp; portal.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/restrict-cross-domain-requests-to-your-portal.htm" title="https://enterprise.arcgis.com/en/portal/latest/administer/windows/restrict-cross-domain-requests-to-your-portal.htm"&gt;Restrict cross-domain requests to your portal—Portal for ArcGIS (10.7 and 10.7.1) | ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access through with esri resource proxy from your javascript.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/resource-proxy" title="https://github.com/Esri/resource-proxy"&gt;GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Than&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2019 02:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639805#M59733</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-09-02T02:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Access to fetch at ...</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639806#M59734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have arcgis server 10.5 (that have not portal)&amp;nbsp;in local network and I,m using arcgisjava script 4.12 that is published in my local network too. please help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/access-to-fetch-at/m-p/639806#M59734</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-09-03T17:55:09Z</dc:date>
    </item>
  </channel>
</rss>

