<?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: QueryTask no longer working with implicitly typed Query object in version 4.12 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454411#M42010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an approximate timeline for this bug fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2019 16:43:20 GMT</pubDate>
    <dc:creator>JackFairfield</dc:creator>
    <dc:date>2019-07-22T16:43:20Z</dc:date>
    <item>
      <title>QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454407#M42006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the latest version of the ArcGIS API for JavaScript (4.12), the&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-QueryTask.html" style="color: #2989c5; text-decoration: none;"&gt;QueryTask&lt;/A&gt;&amp;nbsp;function doesn't seem to be working as expected anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the following error:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="452823" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/452889_pastedImage_4.png" style="border: 0px; margin: 2px 20px 0px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I discovered that if I create a new instance of a&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html" style="color: #2989c5; text-decoration: none;"&gt;Query&lt;/A&gt;, it works, but when trying to autocast using a simple object for the query, it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple example that demonstrates the problem that I am seeing:&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://jsbin.com/cabefesipa/1/edit?js,output" style="color: #2989c5; text-decoration: none;" title="https://jsbin.com/hujawamuwi/edit?html,js,output"&gt;JS Bin example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes: that when you switch the script reference back to 4.11 from 4.12, the QueryTask works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would prefer to use autocasting for my queries going forward.&amp;nbsp; Please let me know if I am doing something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454407#M42006</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-07-11T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454408#M42007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you&amp;nbsp;clone the&amp;nbsp;JSBin and show it working when you create a new query instance,&amp;nbsp;then I'll log a bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 16:51:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454408#M42007</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-07-11T16:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454409#M42008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a JSBin using a new query instance.&amp;nbsp; Works fine.&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/nebeceziyo/1/edit?js,output"&gt;https://jsbin.com/nebeceziyo/1/edit?js,output&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for logging this for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 16:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454409#M42008</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-07-11T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454410#M42009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have logged a bug for this issue:&amp;nbsp;&lt;SPAN style="color: #080707; background-color: #ffffff;"&gt;BUG-000123651&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the find.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2019 17:38:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454410#M42009</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-07-11T17:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454411#M42010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an approximate timeline for this bug fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2019 16:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454411#M42010</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-07-22T16:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454412#M42011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can follow the status of the bug here:&amp;nbsp;&lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyMzY1MQ=="&gt;https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyMzY1MQ==&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 23:56:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454412#M42011</guid>
      <dc:creator>BenElan</dc:creator>
      <dc:date>2019-07-29T23:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454413#M42012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A workaround would be to not use outFields:["*"] and instead explicitly set the outFields to only the needed fields, for example:&amp;nbsp;outFields: ["MTN_PEAK","RANK"]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 00:48:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454413#M42012</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2019-07-30T00:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask no longer working with implicitly typed Query object in version 4.12</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454414#M42013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been resolved in the 4.13 version of the api.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 17:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/querytask-no-longer-working-with-implicitly-typed/m-p/454414#M42013</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2019-10-11T17:42:51Z</dc:date>
    </item>
  </channel>
</rss>

