<?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: ArcGIS API Locally installed in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389313#M35926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi everybody,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I successfully installed the API locally on a server called A. I use them in a web page that resides on another server called B.&lt;BR /&gt;When I open that webpage I get the following error:&lt;BR /&gt;&lt;BR /&gt;...Could not load cross-domain resources...&lt;BR /&gt;&lt;BR /&gt;What's the problem? I supposed the CORS shuldn't be a problem, since usually the APIs used for the ESRI demos are hosted on a different server from the one on that the demo page (that uses them) resides.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The issue most likely is you src not pointing to the right place (for example: &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://yourwebsit/arcgis_js_api/library/2.8/jsapi/" rel="nofollow" target="_blank"&gt;http://yourwebsit/arcgis_js_api/library/2.8/jsapi/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;). Tried to click the src link. If the src is right, a file download window should popup to prompt you open or save jsapi.js file. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;SPAN&gt; if you local api has different domain from your app. Then dojo.require (esri.xxx...) will cause the above error&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jun 2012 19:59:33 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2012-06-09T19:59:33Z</dc:date>
    <item>
      <title>ArcGIS API Locally installed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389312#M35925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I successfully installed the API locally on a server called A. I use them in a web page that resides on another server called B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I open that webpage I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...Could not load cross-domain resources...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the problem? I supposed the CORS shuldn't be a problem, since usually the APIs used for the ESRI demos are hosted on a different server from the one on that the demo page (that uses them) resides.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 17:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389312#M35925</guid>
      <dc:creator>demdeberanz</dc:creator>
      <dc:date>2012-06-08T17:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API Locally installed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389313#M35926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi everybody,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I successfully installed the API locally on a server called A. I use them in a web page that resides on another server called B.&lt;BR /&gt;When I open that webpage I get the following error:&lt;BR /&gt;&lt;BR /&gt;...Could not load cross-domain resources...&lt;BR /&gt;&lt;BR /&gt;What's the problem? I supposed the CORS shuldn't be a problem, since usually the APIs used for the ESRI demos are hosted on a different server from the one on that the demo page (that uses them) resides.&lt;BR /&gt;&lt;BR /&gt;Thank you very much.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;The issue most likely is you src not pointing to the right place (for example: &amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://yourwebsit/arcgis_js_api/library/2.8/jsapi/" rel="nofollow" target="_blank"&gt;http://yourwebsit/arcgis_js_api/library/2.8/jsapi/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;). Tried to click the src link. If the src is right, a file download window should popup to prompt you open or save jsapi.js file. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;SPAN&gt; if you local api has different domain from your app. Then dojo.require (esri.xxx...) will cause the above error&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2012 19:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389313#M35926</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2012-06-09T19:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS API Locally installed</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389314#M35927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The issue most likely is you src not pointing to the right place (for example: &amp;lt;script type="text/javascript" src="http://yourwebsit/arcgis_js_api/library/2.8/jsapi/"&amp;gt;&amp;lt;/script&amp;gt;). Tried to click the src link. If the src is right, a file download window should popup to prompt you open or save jsapi.js file. &lt;STRONG&gt;OR&lt;/STRONG&gt; if you local api has different domain from your app. Then dojo.require (esri.xxx...) will cause the above error&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi huzu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; thank you very much for your reply. I'm in the latter situation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; if you local api has different domain from your app. Then dojo.require (esri.xxx...) will cause the above error &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I fix it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 09:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-api-locally-installed/m-p/389314#M35927</guid>
      <dc:creator>demdeberanz</dc:creator>
      <dc:date>2012-06-12T09:10:44Z</dc:date>
    </item>
  </channel>
</rss>

