<?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: Multiple Query Developer Sample to WAB Widget? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788932#M3865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when changing the code to state "this.map.graphics", it is coming up with an error indicating "TypeError: Unable to get property 'add' of undefined or null reference TypeError: Unable to get property 'add' of undefined or null reference".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 18:20:29 GMT</pubDate>
    <dc:creator>DanielStoelb</dc:creator>
    <dc:date>2015-10-20T18:20:29Z</dc:date>
    <item>
      <title>Multiple Query Developer Sample to WAB Widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788930#M3863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on converting the JS API Sample (&lt;A href="https://developers.arcgis.com/javascript/jssamples/query_deferred_list.html" title="https://developers.arcgis.com/javascript/jssamples/query_deferred_list.html"&gt;Manage results from multiple queries | ArcGIS API for JavaScript&lt;/A&gt; ) to a WAB widget and I'm running into an issue indicating that the "ReferenceError: 'graphics' is undefined ReferenceError: 'graphics' is undefined".&amp;nbsp; I've attached the code that I have to this message (some of the url's to the queries are removed to protect some of the data).&amp;nbsp; Is there something that I'm doing wrong in the coding for this to make it work?&amp;nbsp; It is looking like the queries are running, but none of the results are shown in the map.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788930#M3863</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-10-20T17:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Query Developer Sample to WAB Widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788931#M3864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't see in your code where you define what "graphics" is.&amp;nbsp; In the sample they use "&lt;SPAN class="pln"&gt;app&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;map&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;graphics" so in your case it should be "this.map.graphics"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788931#M3864</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-20T17:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Query Developer Sample to WAB Widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788932#M3865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So when changing the code to state "this.map.graphics", it is coming up with an error indicating "TypeError: Unable to get property 'add' of undefined or null reference TypeError: Unable to get property 'add' of undefined or null reference".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788932#M3865</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-10-20T18:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Query Developer Sample to WAB Widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788933#M3866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you look at the docs map.graphics gets you the graphicsLayer for the map if you want to add to the graphicsLayer then you need "this.map.graphics.graphics.add"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:28:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788933#M3866</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-20T18:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Query Developer Sample to WAB Widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788934#M3867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to resolve the issue by using a "map=this.map" at the start and changing the graphics to "map.graphics.add()" and that worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:49:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/multiple-query-developer-sample-to-wab-widget/m-p/788934#M3867</guid>
      <dc:creator>DanielStoelb</dc:creator>
      <dc:date>2015-10-20T18:49:36Z</dc:date>
    </item>
  </channel>
</rss>

