<?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: �??Query task without map&amp;quot;  - From Samples (Quering a different field) in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62808#M1562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In addition to what Chris said. You can read up on the following documentation to know the difference between query.Text and query.Where properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Text.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Text.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Where.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Where.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query.Text operates on display field. If "Region" is not the display field, you have to use Where clause instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 17:32:23 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-11-11T17:32:23Z</dc:date>
    <item>
      <title>???Query task without map&amp;amp;quot;  - From Samples (Quering a different field)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62806#M1560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the �??Query task without map" -(&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryWithoutMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryWithoutMap&lt;/A&gt;&lt;SPAN&gt;) from the samples - here, if I want to perform the query operation on the "Region" field instead of "State Name" field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please suggest me as what changes should I make in the code in Xaml &amp;amp; Xaml.cs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your Suggestions!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 15:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62806#M1560</guid>
      <dc:creator>sairam1</dc:creator>
      <dc:date>2011-11-09T15:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: �??Query task without map"  - From Samples (Quering a different field)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62807#M1561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This query depends on the map service.&amp;nbsp; There are a couple of things to do.&amp;nbsp; Change the map service to have the region as the display field, or you could add a where statement for the query in the xaml.cs.&amp;nbsp; The where statement would be query.where = Sub_Region = 'Pacific';&amp;nbsp; You could bind the where statement to a dropdown for all the regions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The best thing to do is go to the rest endpoint and hit the query tab to make sure that you get the results that you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 18:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62807#M1561</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2011-11-10T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: �??Query task without map"  - From Samples (Quering a different field)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62808#M1562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In addition to what Chris said. You can read up on the following documentation to know the difference between query.Text and query.Where properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Text.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Text.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Where.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Tasks.Query~Where.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Query.Text operates on display field. If "Region" is not the display field, you have to use Where clause instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 17:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-task-without-map-amp-amp-quot-nbsp-from/m-p/62808#M1562</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-11-11T17:32:23Z</dc:date>
    </item>
  </channel>
</rss>

