<?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 Javascript api 3.1 esri undefined error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581165#M54226</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vani,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the code you are trying to update to 3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 16:04:18 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2012-08-14T16:04:18Z</dc:date>
    <item>
      <title>ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581162#M54223</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 been upgrading the javascript api from 1.5 to 3.1 and having problems with symbols...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting an error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Microsoft Jscript runtime error: 'esri' is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also getting a 404 on a particular js file in the api library...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when i debugged in IE,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;URL &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.1/js/esri/symbol/Symbol.js"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.1/js/esri/symbol/Symbol.js&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Method&amp;nbsp;&amp;nbsp; GET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result 404&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Type text/html &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Received 184 B &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Taken&amp;nbsp; 156 ms &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Initiator &amp;lt;script&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions on this....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581162#M54223</guid>
      <dc:creator>KalaivaniNellaiappan</dc:creator>
      <dc:date>2012-08-14T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581163#M54224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you trying to load a locally hosted JS API or the one hosted by ESRI?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 14:45:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581163#M54224</guid>
      <dc:creator>__Rich_</dc:creator>
      <dc:date>2012-08-14T14:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581164#M54225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The one hosted by esri...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 15:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581164#M54225</guid>
      <dc:creator>KalaivaniNellaiappan</dc:creator>
      <dc:date>2012-08-14T15:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581165#M54226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Vani,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post the code you are trying to update to 3.1?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 16:04:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581165#M54226</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2012-08-14T16:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581166#M54227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the code&amp;nbsp; that triggers this error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.1" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.1&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var highlightSymbol = new esri.symbol.SimpleFillSymbol();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightSymbol.setStyle(esri.symbol.SimpleFillSymbol.STYLE_SOLID);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightSymbol.setColor(new dojo.Color([255, 255, 0, 0.25]));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var highlightOutline = new esri.symbol.SimpleLineSymbol();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightOutline.setWidth(2);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightOutline.setStyle(esri.symbol.SimpleLineSymbol.STYLE_DASH);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightOutline.setColor(new dojo.Color([255, 0, 0, 1]));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightSymbol.setOutline(highlightOutline);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var highlightMarker = new esri.symbol.SimpleMarkerSymbol();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightMarker.setSize(15);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightMarker.setOutline(highlightOutline);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; highlightMarker.setStyle(esri.symbol.SimpleMarkerSymbol.STYLE_X);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 17:17:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581166#M54227</guid>
      <dc:creator>KalaivaniNellaiappan</dc:creator>
      <dc:date>2012-08-14T17:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Javascript api 3.1 esri undefined error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581167#M54228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Got the answer from John Gravois's reply to the thread " Issues with 3.0 when loading app"...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually my code was outisde init...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When i moved it inside init... the issue got resolved...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 17:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-api-3-1-esri-undefined-error/m-p/581167#M54228</guid>
      <dc:creator>KalaivaniNellaiappan</dc:creator>
      <dc:date>2012-08-14T17:39:22Z</dc:date>
    </item>
  </channel>
</rss>

