<?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 FindTask vs QueryTask in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/findtask-vs-querytask/m-p/36853#M402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using both QueryTask and FindTask in 10.2.6 runtime sdk for dotnet on a local mpk and have 2 issues with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first issue is that a QueryTask names the attributes of the features using the column name. A FindTask names the attributes of the features using the Alias name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second and more important issue is that the FindTask does not populate the Subtype columns. QueryTask works correctly so my work-around is to use the FindTask to initially find the features in the various layers and then use a QueryTask for each layer selecting via the object id's found by the FindTask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else come across these issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2015 13:46:27 GMT</pubDate>
    <dc:creator>PaulLivingstone</dc:creator>
    <dc:date>2015-09-10T13:46:27Z</dc:date>
    <item>
      <title>FindTask vs QueryTask</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/findtask-vs-querytask/m-p/36853#M402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using both QueryTask and FindTask in 10.2.6 runtime sdk for dotnet on a local mpk and have 2 issues with them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first issue is that a QueryTask names the attributes of the features using the column name. A FindTask names the attributes of the features using the Alias name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second and more important issue is that the FindTask does not populate the Subtype columns. QueryTask works correctly so my work-around is to use the FindTask to initially find the features in the various layers and then use a QueryTask for each layer selecting via the object id's found by the FindTask.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else come across these issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 13:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/findtask-vs-querytask/m-p/36853#M402</guid>
      <dc:creator>PaulLivingstone</dc:creator>
      <dc:date>2015-09-10T13:46:27Z</dc:date>
    </item>
  </channel>
</rss>

