<?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: TypeError: a.getDojoShape is not a function in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107048#M9904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could post your code, that might be helpful. Always tough to see what could be wrong without code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 18:54:36 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2014-12-02T18:54:36Z</dc:date>
    <item>
      <title>TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107047#M9903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;&lt;STRONG&gt;All, this was an easy fix and thanks to John G. for giving me a kick in the butt to look for the error in the code.&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2873ee;"&gt;&lt;STRONG&gt;Basically there was a line to add the graphic that I was creating, but instead I still had the reference to the graphicsLayer. Easy. Thanks for all your help!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm trying to put all my graphics into the main map graphics layer (rather than create a new graphics layer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works - but only 1/2 the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, a user clicks the button to do a geocode &amp;gt; queryies &amp;gt; display the results, and it seems to work ok the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you click it again, the error &lt;STRONG&gt;TypeError: a.getDojoShape is not a function &lt;/STRONG&gt;shows up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... if you click it again, it works just fine (ie. first graphics layer clears, new graphics appear as I would expect).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm wondering If I have something out of order, or, as some (ancient) forum posts suggest, there is another Dojo require I need to add?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-m&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(code removed until I can create a reproducible case...)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:47:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107047#M9903</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2014-12-02T18:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107048#M9904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you could post your code, that might be helpful. Always tough to see what could be wrong without code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 18:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107048#M9904</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-12-02T18:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107049#M9905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim, added the code... hope it's not too much to sort though... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107049#M9905</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2014-12-02T19:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107050#M9906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'seeing' the code is helpful, it'd be substantially easier to troubleshoot if you wrote a complete, ready to run repro case to distill the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:09:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107050#M9906</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-12-02T19:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107051#M9907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me see what I can do...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107051#M9907</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2014-12-02T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107052#M9908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The correct answer was to create a repro and force myself to look at the code a little harder... Thanks, John!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107052#M9908</guid>
      <dc:creator>MatthewBaker2</dc:creator>
      <dc:date>2014-12-02T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: TypeError: a.getDojoShape is not a function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107053#M9909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it can be a pain to shift gears from your actual production project, but after 5 years in tech support i found its the right answer about 90% of the time &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:54:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/typeerror-a-getdojoshape-is-not-a-function/m-p/107053#M9909</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2014-12-02T19:54:03Z</dc:date>
    </item>
  </channel>
</rss>

