<?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: Sample scripts no longer work since upgrade to v3.0 of the API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93257#M8467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Derek,&lt;BR /&gt;&lt;BR /&gt;Thanks for the clarification. However, I agree with Jeff that this represents a new hurdle for developers (especially those just starting out with the JS API).&lt;BR /&gt;&lt;BR /&gt;While it's not realistic to run web apps from a local file system, it IS common to fire up a quick sample to check how one specific thing works, which is surely the point of the samples? This is how we test out new functionality before compiling it into a robust web app for deployment (not just in the ArcGIS Server JS API but in other web mapping APIs, or indeed other JavaScript/HTML libraries).&lt;BR /&gt;&lt;BR /&gt;I haven't looked into v3.0 yet so I don't fully understand the change, and why it was necessary. As a developer, all I can see is that the copy/paste/test approach used to work, and now doesn't. Perhaps there could be a blog post/tutorial explaining the changes, and giving some simple instructions for the new requirements of a web server - this could be linked on each sample page.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spot on; everything addressed here is a valid concern and well said.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 20:01:13 GMT</pubDate>
    <dc:creator>MarkHoover</dc:creator>
    <dc:date>2012-07-05T20:01:13Z</dc:date>
    <item>
      <title>Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93249#M8459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like a batch process has been run over all of the sample scripts, eg the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/query_hover.html" rel="nofollow" target="_blank"&gt;Hover sample&lt;/A&gt;&lt;SPAN&gt;, to upgrade them to use version 3.0 of the JS API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0/js/dojo/dijit/themes/claro/claro.css"&amp;gt; &amp;lt;script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.0"&amp;gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This means that the samples no longer work when copy/pasting directly from the Esri site into a local file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]15775[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I revert those lines to use 2.8 the sample works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 02:53:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93249#M8459</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-05T02:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93250#M8460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems that you may have a "Access-Control-Allow-Origin" issue for your local html file. You can try to publish the html to the web server and access it using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hostmame/.../query_hover.html"&gt;http://hostmame/.../query_hover.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, the following help links may be helpful to you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Making cross domain JavaScript requests using XMLHttpRequest or XDomainRequest&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html"&gt;http://www.leggetter.co.uk/2010/03/12/making-cross-domain-javascript-requests-using-xmlhttprequest-or-xdomainrequest.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SCRIPT5: Access is denied in IE9 on xmlhttprequest&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/5793831/script5-access-is-denied-in-ie9-on-xmlhttprequest"&gt;http://stackoverflow.com/questions/5793831/script5-access-is-denied-in-ie9-on-xmlhttprequest&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 16:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93250#M8460</guid>
      <dc:creator>FengZhang2</dc:creator>
      <dc:date>2012-07-05T16:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93251#M8461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve�?? are you running the sample from your file system or from a local web server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 17:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93251#M8461</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-05T17:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93252#M8462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having a similar problem. Also I am running this from my local file system [ATTACH=CONFIG]15793[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:25:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93252#M8462</guid>
      <dc:creator>NigelAlford</dc:creator>
      <dc:date>2012-07-05T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93253#M8463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm having a similar problem. Also I am running this from my local file system [ATTACH=CONFIG]15793[/ATTACH]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please use a local web server. It's not realistic to run web apps from your local file system. There are plenty of free options and most OSes come with a web server built-in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93253#M8463</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-05T18:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93254#M8464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey derek, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; I know this was a change that had to be made, but up till 2.8 everything ran fine as a local file.&amp;nbsp; It was MUCH more convenient.&amp;nbsp; This seems like a major step backwards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 18:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93254#M8464</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-07-05T18:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93255#M8465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I launched this from Visual Studio 2010 Ultimate and everything finally worked. Thats an interesting update with 3.0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 19:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93255#M8465</guid>
      <dc:creator>NigelAlford</dc:creator>
      <dc:date>2012-07-05T19:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93256#M8466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Please use a local web server. It's not realistic to run web apps from your local file system. There are plenty of free options and most OSes come with a web server built-in.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the clarification. However, I agree with Jeff that this represents a new hurdle for developers (especially those just starting out with the JS API).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While it's not realistic to run web apps from a local file system, it IS common to fire up a quick sample to check how one specific thing works, which is surely the point of the samples? This is how we test out new functionality before compiling it into a robust web app for deployment (not just in the ArcGIS Server JS API but in other web mapping APIs, or indeed other JavaScript/HTML libraries).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't looked into v3.0 yet so I don't fully understand the change, and why it was necessary. As a developer, all I can see is that the copy/paste/test approach used to work, and now doesn't. Perhaps there could be a blog post/tutorial explaining the changes, and giving some simple instructions for the new requirements of a web server - this could be linked on each sample page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 19:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93256#M8466</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-05T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93257#M8467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Derek,&lt;BR /&gt;&lt;BR /&gt;Thanks for the clarification. However, I agree with Jeff that this represents a new hurdle for developers (especially those just starting out with the JS API).&lt;BR /&gt;&lt;BR /&gt;While it's not realistic to run web apps from a local file system, it IS common to fire up a quick sample to check how one specific thing works, which is surely the point of the samples? This is how we test out new functionality before compiling it into a robust web app for deployment (not just in the ArcGIS Server JS API but in other web mapping APIs, or indeed other JavaScript/HTML libraries).&lt;BR /&gt;&lt;BR /&gt;I haven't looked into v3.0 yet so I don't fully understand the change, and why it was necessary. As a developer, all I can see is that the copy/paste/test approach used to work, and now doesn't. Perhaps there could be a blog post/tutorial explaining the changes, and giving some simple instructions for the new requirements of a web server - this could be linked on each sample page.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spot on; everything addressed here is a valid concern and well said.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93257#M8467</guid>
      <dc:creator>MarkHoover</dc:creator>
      <dc:date>2012-07-05T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93258#M8468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I believe the reason for this a Dojo 1.7 issue and not an ESRI API issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If run locally, Dojo will try to load the files locally, which is why you get these errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's look at the dojo/text tool. It will load a file as plain text to use in your application, mostly used for templating. This a XHR request, which cannot be done locally and will only work in a server environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;can&lt;/SPAN&gt;&lt;SPAN&gt; be a little annoying if you are not used to keeping a server up locally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want a ridiculously easy local server to use, try xampp.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.apachefriends.org/en/xampp.html"&gt;http://www.apachefriends.org/en/xampp.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's a simple, one-click install of apache/mysql/tomcat and more. You can just use it to run apache which will work for running the samples. There's even a version to run it off a usb drive. I've been using it for quite a while at work so I don't need to work off a test server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 20:47:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93258#M8468</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2012-07-05T20:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93259#M8469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the main problem is that this new requirement (to use a web server) isn't documented anywhere. Eg, the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;Samples homepage&lt;/A&gt;&lt;SPAN&gt; still links to a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/videos/sample_using.htm"&gt;video&lt;/A&gt;&lt;SPAN&gt; showing how to download a sample and run it from your local disk. None of the individual samples have been updated to list the requirement for a web server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As of last week, we were all used to working a certain way, and now we need to change. That's not a problem, but there needs to be a clearer set of instructions on what's required. This affects both experienced developers (who are used to working the old way and new developers (who need to know how to get started).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This could be remedied with a new "how to use these samples" video tutorial (and complementary text version) on the Samples homepage, showing how to set up a local web server. This should also be linked from each sample page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment, developers would need to read this thread in order to figure out (a) what's wrong and (b) how to fix it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 02:55:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93259#M8469</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-09T02:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93260#M8470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I guess the main problem is that this new requirement (to use a web server) isn't documented anywhere. Eg, the &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm"&gt;Samples homepage&lt;/A&gt; still links to a &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/videos/sample_using.htm"&gt;video&lt;/A&gt; showing how to download a sample and run it from your local disk. None of the individual samples have been updated to list the requirement for a web server.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The video shows using a local instance of IIS to run the sample. Notice that the html file is placed in the wwwroot directory (default location to serve files using IIS) and when it's loaded in the browser, the sample is accessed using &lt;/SPAN&gt;&lt;A href="http://,"&gt;http://,&lt;/A&gt;&lt;SPAN&gt; not file://.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 14:08:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93260#M8470</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-09T14:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93261#M8471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;edit:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my bad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 17:41:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93261#M8471</guid>
      <dc:creator>J_C_Geers</dc:creator>
      <dc:date>2012-07-09T17:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93262#M8472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The video shows using a local instance of IIS to run the sample. Notice that the html file is placed in the wwwroot directory (default location to serve files using IIS) and when it's loaded in the browser, the sample is accessed using &lt;A href="http://,"&gt;http://,&lt;/A&gt; not file://.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK maybe the video wasn't a good example as I got frustrated by the slow clicking and stopped watching it before the end (or perhaps this makes it a good example after all, since most developers have short attention spans...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I won't labour the point, but my feedback is that it's possible many users will be confused by the new requirements, and it would help if there was some mention of this, somewhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2012 23:41:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93262#M8472</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-07-09T23:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93263#M8473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I'm running an app from the IIS root folder and I am still getting the following console error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;&lt;SPAN&gt;. Origin &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;servername&amp;gt; is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I be concerned? What could be causing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the World Street Map example straight copy and paste.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 10:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93263#M8473</guid>
      <dc:creator>KeithSandell</dc:creator>
      <dc:date>2012-07-11T10:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93264#M8474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I'm running an app from the IIS root folder and I am still getting the following console error:&lt;BR /&gt;&lt;BR /&gt;XMLHttpRequest cannot load &lt;A href="http://server.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://server.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;. Origin http://&amp;lt;servername&amp;gt; is not allowed by Access-Control-Allow-Origin.&lt;BR /&gt;&lt;BR /&gt;Should I be concerned? What could be causing this?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can safely ignore that error. More info:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466"&gt;http://forums.arcgis.com/threads/60386-Access-Control-Allow-Origin-and-3.0?p=208466&amp;amp;viewfull=1#post208466&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 17:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93264#M8474</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-07-11T17:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93265#M8475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I promised not to labour the point, but anyway..... I just noticed that &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/65685-Copy-and-paste-of-code-not-working-in-notepad"&gt;another user has run into the same issue&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="color:#333333;"&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;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to link to a reference showing the need to use a web server - and I still can't find one, aside from this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/intro_firstmap.htm"&gt;Getting Started&lt;/A&gt;&lt;SPAN&gt; section of the help shows how to create your first application, but doesn't mention setting up a web server. Perhaps you could you add something here with simple instructions on how to set up a web server in Windows, OS and Linux?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 05:47:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93265#M8475</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-08-31T05:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93266#M8476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont have the ARCGIS API in local but in a webserver and do the correct configuration in "init.js" and "dojo.js".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the problem? I don't understand!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17873[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the image of the error in Firebug. "192.168.13.56" is my address IP in my network. The url of the file is not good! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93266#M8476</guid>
      <dc:creator>KristianLucido</dc:creator>
      <dc:date>2012-09-21T14:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sample scripts no longer work since upgrade to v3.0 of the API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93267#M8477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be better if you started a new thread instead of piggy-backing on this one since it's already been answered. Can you start a new thread, and in that thread, post the code for the page that is generating that error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 15:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sample-scripts-no-longer-work-since-upgrade-to-v3/m-p/93267#M8477</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-09-21T15:13:11Z</dc:date>
    </item>
  </channel>
</rss>

