<?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: Unable to query feature layer in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156761#M3907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you wish to return all records, you can update your query's Where clause to "1=1". This is similar to performing the query outside of SL, through the browser like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Sep 2010 23:52:18 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2010-09-29T23:52:18Z</dc:date>
    <item>
      <title>Unable to query feature layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156758#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am unable to query my feature layer using the query task function.&amp;nbsp; However, if I use the Ctrl-Click function on the url, I am able to perform queries with results from the server rest endpoint. Are there any limitations, i.e. number of records returned?&amp;nbsp; What is the syntax for retrieving ALL records from the feature layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 17:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156758#M3904</guid>
      <dc:creator>DuaneAnderson</dc:creator>
      <dc:date>2010-09-29T17:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query feature layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156759#M3905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you say you are unable to query your feature layer - does your query ever get completed? Can you also subscribe to failed event?&amp;nbsp; Can you also check that the parameters you set when performing the query through the browser (outside SL) are the same parameters you set in your SL app? &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.ExecuteCompleted += QueryTask_ExecuteCompleted;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.Failed += QueryTask_Failed;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as limitation in the number of records returned by a service; the default is 500 for ArcGIS Server 9.3.1, 1000 for ArcGIS Server 10, 1000 for MapIt... as mentioned here:&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/help/creating_featurelayer.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/help/creating_featurelayer.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156759#M3905</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T08:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query feature layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156760#M3906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer:&amp;nbsp; From the 'query layer' option at the rest endpoint, I am NOT able to query for ALL records.&amp;nbsp; I am required to limit with a WHERE clause, e.g. ICRType = 'ASSAULT'.&amp;nbsp; If ICRType is not NULL, the query stops at the limit of 500, but does return records.&amp;nbsp; Unfortunately, I cannot paste/enter this into the WHERE clause, e.g. ICRType = 'ASSAULT' without receiving a 'not declared' error message.&amp;nbsp; So, no I do not think it's completing in any fashion.&amp;nbsp; Thank you for responding and I look forward to whatever advice you can provide.&amp;nbsp; Duane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 19:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156760#M3906</guid>
      <dc:creator>DuaneAnderson</dc:creator>
      <dc:date>2010-09-29T19:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to query feature layer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156761#M3907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you wish to return all records, you can update your query's Where clause to "1=1". This is similar to performing the query outside of SL, through the browser like so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/LandusePlanning/MapServer/0/query?text=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryPoint&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;objectIds=&amp;amp;where=1%3D1&amp;amp;time=&amp;amp;returnIdsOnly=false&amp;amp;returnGeometry=true&amp;amp;maxAllowableOffset=&amp;amp;outSR=&amp;amp;outFields=&amp;amp;f=html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 23:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/unable-to-query-feature-layer/m-p/156761#M3907</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-09-29T23:52:18Z</dc:date>
    </item>
  </channel>
</rss>

