<?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 only works is I include something in the where statement... in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-only-works-is-i-include-something-in-the/m-p/743671#M18988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It should work with the where clause &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;queryTask.Where = "1=1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery"&gt;&lt;SPAN style="font-size:2;"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; is doing that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also verify that your service is working well by using the REST api of your service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/query?where=1%3D1"&gt;&lt;SPAN style="font-size:2;"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/query?where=1%3D1&lt;/SPAN&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jul 2010 13:40:50 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2010-07-16T13:40:50Z</dc:date>
    <item>
      <title>QueryTask only works is I include something in the where statement...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-only-works-is-i-include-something-in-the/m-p/743670#M18987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i've also tried "where 1=1", which i've seen documented, but this doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone know how I can execute my query to return all the shapes/records in a featureset?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 13:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-only-works-is-i-include-something-in-the/m-p/743670#M18987</guid>
      <dc:creator>MichaelBlom</dc:creator>
      <dc:date>2010-07-16T13:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: QueryTask only works is I include something in the where statement...</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-only-works-is-i-include-something-in-the/m-p/743671#M18988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It should work with the where clause &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;queryTask.Where = "1=1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery"&gt;&lt;SPAN style="font-size:2;"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; is doing that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also verify that your service is working well by using the REST api of your service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/query?where=1%3D1"&gt;&lt;SPAN style="font-size:2;"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5/query?where=1%3D1&lt;/SPAN&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jul 2010 13:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/querytask-only-works-is-i-include-something-in-the/m-p/743671#M18988</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-16T13:40:50Z</dc:date>
    </item>
  </channel>
</rss>

