<?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 How to setup allowedorigins for local development server in ArcGIS Enterprise Portal in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408004#M84277</link>
    <description>&lt;P&gt;I have a custom basemap gallery in ArcGIS Enterprise Portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created&amp;nbsp;basemap in JavaScript running on&lt;FONT color="#FFFF00"&gt;&lt;STRONG&gt; &lt;A href="https://localhost:4200" target="_blank" rel="noopener"&gt;https://localhost:4200 (&lt;SPAN&gt;&amp;nbsp;local development server).&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;const basemap = new Basemap({&lt;BR /&gt;&amp;nbsp; &amp;nbsp;portalItem: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: "&lt;SPAN&gt;0560e29930dc4d5ebeb58c635c0909c9&lt;/SPAN&gt;",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; portal: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url: "&lt;A href="https://xxx.com/portal" target="_blank" rel="noopener"&gt;https://xxx.com/portal&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;How to setup allowedorigins in Enterprise Portal?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Forrest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 14:59:41 GMT</pubDate>
    <dc:creator>ForrestLin</dc:creator>
    <dc:date>2024-04-11T14:59:41Z</dc:date>
    <item>
      <title>How to setup allowedorigins for local development server in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408004#M84277</link>
      <description>&lt;P&gt;I have a custom basemap gallery in ArcGIS Enterprise Portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created&amp;nbsp;basemap in JavaScript running on&lt;FONT color="#FFFF00"&gt;&lt;STRONG&gt; &lt;A href="https://localhost:4200" target="_blank" rel="noopener"&gt;https://localhost:4200 (&lt;SPAN&gt;&amp;nbsp;local development server).&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;const basemap = new Basemap({&lt;BR /&gt;&amp;nbsp; &amp;nbsp;portalItem: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; id: "&lt;SPAN&gt;0560e29930dc4d5ebeb58c635c0909c9&lt;/SPAN&gt;",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; portal: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url: "&lt;A href="https://xxx.com/portal" target="_blank" rel="noopener"&gt;https://xxx.com/portal&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;How to setup allowedorigins in Enterprise Portal?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Forrest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408004#M84277</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2024-04-11T14:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup allowedorigins in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408074#M84279</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/5931"&gt;@ForrestLin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This document may help your cause!&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/linux/restrict-cross-domain-requests-to-your-portal.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/linux/restrict-cross-domain-requests-to-your-portal.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 17:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408074#M84279</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-04-10T17:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup allowedorigins in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408111#M84281</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't work for localhost (&lt;STRONG&gt;&lt;A href="https://localhost:4200/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://localhost:4200&lt;/A&gt;).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Forrest&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Apr 2024 18:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408111#M84281</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2024-04-10T18:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup allowedorigins in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408148#M84282</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/5931"&gt;@ForrestLin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any chance you could use either your IP address or your computer/server Hostname to attempt and allow it?&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 19:00:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408148#M84282</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2024-04-10T19:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup allowedorigins in ArcGIS Enterprise Portal</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408463#M84289</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/712076"&gt;@CodyPatterson&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use hostname and port (&lt;A href="https://myhost:4200" target="_blank" rel="noopener"&gt;https://myhost:4200&lt;/A&gt;). It still doesn't work. I think because it's local development server.&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;P&gt;Forrest&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 14:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-setup-allowedorigins-for-local-development/m-p/1408463#M84289</guid>
      <dc:creator>ForrestLin</dc:creator>
      <dc:date>2024-04-11T14:58:25Z</dc:date>
    </item>
  </channel>
</rss>

