<?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: Clustermap dojo.connect onError in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clustermap-dojo-connect-onerror/m-p/209894#M19451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm creating an app based on the Clustermap sample by &lt;A href="http://globoserve.posterous.com/" rel="nofollow noopener noreferrer" target="_blank"&gt;globoserver&lt;/A&gt;.&amp;nbsp; The sample is working great and I've managed to implement a filtering mechanism.&amp;nbsp; The problem I'm struggling with is trapping an error when no results are returned.&amp;nbsp; It seems like the error function is not being called?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.connect(queryTask, "onError", function(err) {
 alert("CUSTOM ERROR: " + err.details);
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas/suggestions would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Warren M&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No results return does not mean query task failed. It just means that query task could not find any results.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 10:20:52 GMT</pubDate>
    <dc:creator>HemingZhu</dc:creator>
    <dc:date>2021-12-11T10:20:52Z</dc:date>
    <item>
      <title>Clustermap dojo.connect onError</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clustermap-dojo-connect-onerror/m-p/209893#M19450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating an app based on the Clustermap sample by &lt;/SPAN&gt;&lt;A href="http://globoserve.posterous.com/" rel="nofollow noopener noreferrer" target="_blank"&gt;globoserver&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; The sample is working great and I've managed to implement a filtering mechanism.&amp;nbsp; The problem I'm struggling with is trapping an error when no results are returned.&amp;nbsp; It seems like the error function is not being called?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.connect(queryTask, "onError", function(err) {
 alert("CUSTOM ERROR: " + err.details);
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas/suggestions would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Warren M&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clustermap-dojo-connect-onerror/m-p/209893#M19450</guid>
      <dc:creator>WarrenMedernach</dc:creator>
      <dc:date>2021-12-11T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clustermap dojo.connect onError</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clustermap-dojo-connect-onerror/m-p/209894#M19451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello all,&lt;BR /&gt;&lt;BR /&gt;I'm creating an app based on the Clustermap sample by &lt;A href="http://globoserve.posterous.com/" rel="nofollow noopener noreferrer" target="_blank"&gt;globoserver&lt;/A&gt;.&amp;nbsp; The sample is working great and I've managed to implement a filtering mechanism.&amp;nbsp; The problem I'm struggling with is trapping an error when no results are returned.&amp;nbsp; It seems like the error function is not being called?&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.connect(queryTask, "onError", function(err) {
 alert("CUSTOM ERROR: " + err.details);
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;Any ideas/suggestions would be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Warren M&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No results return does not mean query task failed. It just means that query task could not find any results.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 10:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/clustermap-dojo-connect-onerror/m-p/209894#M19451</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T10:20:52Z</dc:date>
    </item>
  </channel>
</rss>

