<?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: Error at simple QueryTask on large map service layer  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18985#M1742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is string. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;The solution:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;query.where = "SomeID = '12345'";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2016 03:37:37 GMT</pubDate>
    <dc:creator>PitersonPaulgek</dc:creator>
    <dc:date>2016-11-11T03:37:37Z</dc:date>
    <item>
      <title>Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18981#M1738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, we try to run simple&amp;nbsp;QueryTask on large (1.5 million features) map service layer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var queryTask = new QueryTask("someURL/arcgis/rest/services/Polygons2/MapServer/0");&lt;/P&gt;&lt;P&gt;var query = new Query();&lt;BR /&gt; query.returnGeometry = true;&lt;BR /&gt; query.outFields = ["Name1,Name2"];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; query.where = "SomeID = 12345";&lt;BR /&gt; queryTask.execute(query, _showResults, _displayError);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_showResults = function (features) {&lt;BR /&gt; selectedGraphics.clear();&lt;BR /&gt;&lt;BR /&gt; for (var i = 0; i &amp;lt; features.length; i++) {&lt;BR /&gt; var feature = features&lt;I&gt;;&lt;BR /&gt; feature.symbol = HighlightSymbol;&lt;BR /&gt; selectedGraphics.add(feature);&lt;BR /&gt; }&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_displayError = function (error) {&lt;BR /&gt; console.log(error);&lt;BR /&gt; alert("Error");&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Failed to execute query.&lt;BR /&gt;&lt;SPAN&gt; at Object.g.load (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A857%3A426" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:857:426&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A87%3A450" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:87:450&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A103%3A393" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:103:393&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A103%3A182" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:103:182&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at b.Deferred.resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A105%3A10" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:105:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A104%3A96" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:104:96&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A103%3A182" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:103:182&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at b.Deferred.resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A105%3A10" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:105:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A92%3A118" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:92:118&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; at h (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.17%2Finit.js%3A107%3A279" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/3.17/init.js:107:279&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help to understand/fix the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 01:37:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18981#M1738</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-11T01:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18982#M1739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;First thing I would do is verify that your query works just using the rest end point for the map service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 01:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18982#M1739</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-11T01:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18983#M1740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, thank you.&lt;/P&gt;&lt;P&gt;I did. &lt;BR /&gt;Seems to be syntax error in the query.where.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 03:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18983#M1740</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-11T03:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18984#M1741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the field you are querying a string or numeric?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 03:28:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18984#M1741</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-11T03:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18985#M1742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is string. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;The solution:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;query.where = "SomeID = '12345'";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 03:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18985#M1742</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-11-11T03:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error at simple QueryTask on large map service layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18986#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to mark this question as answered by clicking on the "Correct Answer" link on the reply that answered your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 03:40:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-at-simple-querytask-on-large-map-service/m-p/18986#M1743</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-11T03:40:16Z</dc:date>
    </item>
  </channel>
</rss>

