<?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: Copy and paste of code not working in notepad in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392223#M36196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my experience 3.0 api works only on a web server...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 07:26:57 GMT</pubDate>
    <dc:creator>DavideLimosani</dc:creator>
    <dc:date>2012-08-28T07:26:57Z</dc:date>
    <item>
      <title>Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392221#M36194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me. The live samples are working when i view it in the browser, but when i copy the code into notepad and run it as a local copy in the browser. The code is not working, nothing is being displayed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please help me???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 04:18:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392221#M36194</guid>
      <dc:creator>abhijithsastry</dc:creator>
      <dc:date>2012-08-28T04:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392222#M36195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should put the text file under you local web server, for example in the wwwroot folder if you are working with IIS, and run it in localhost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To be sure that this is the problem try using the api 2.8 instead of 3.0. In this case the script should work from any path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Davide&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 06:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392222#M36195</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-28T06:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392223#M36196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my experience 3.0 api works only on a web server...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 07:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392223#M36196</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-28T07:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392224#M36197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In my experience 3.0 api works only on a web server...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;He's not talking about hosting the API, he's talking about a sample not working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 07:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392224#M36197</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-08-28T07:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392225#M36198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;He's not talking about hosting the API, he's talking about a sample not working.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not talking about it either. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here there is a thread about this issue&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API"&gt;http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 07:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392225#M36198</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2012-08-28T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Copy and paste of code not working in notepad</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392226#M36199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm not talking about it either. &lt;BR /&gt;&lt;BR /&gt;Here there is a thread about this issue&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API"&gt;http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;My apologies, guess I've just got lucky so far - haven't had a problem with a sample before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having tried the Hover sample referenced in that other thread it has a problem in FF but not in IE, different implementation of cross-domain security...there's a surprise *rolls eyes* (ah, I see, again, IE not really into CORS yet!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: just noticed all the 'quick' (i.e. filesystem-hosted) samples I've got lying around are pre 3.0...that explains it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;edit2: ah, I see, because serving the page from the filesystem produces a value of null for the HTTP request header "Origin" this cannot be used to authorise for CORS purposes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 08:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/copy-and-paste-of-code-not-working-in-notepad/m-p/392226#M36199</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-08-28T08:18:59Z</dc:date>
    </item>
  </channel>
</rss>

