<?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 Set QueryParameters.MaxFeatures and catch a exception in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583366#M7132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;When I set&amp;nbsp;QueryParameters.MaxFeatures then execute &lt;SPAN&gt;ServiceFeatureTable.QueryFeaturesAsync(QueryParameters parameters, QueryFeatureFields queryFeatureFields) &lt;/SPAN&gt; then will catch a exception(Unable to complete operation.), but don't set it&amp;nbsp;codes&amp;nbsp;go well，I wonder if there is something to with the query when executed?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 01:08:39 GMT</pubDate>
    <dc:creator>xiaoguangyan</dc:creator>
    <dc:date>2017-06-08T01:08:39Z</dc:date>
    <item>
      <title>Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583366#M7132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;When I set&amp;nbsp;QueryParameters.MaxFeatures then execute &lt;SPAN&gt;ServiceFeatureTable.QueryFeaturesAsync(QueryParameters parameters, QueryFeatureFields queryFeatureFields) &lt;/SPAN&gt; then will catch a exception(Unable to complete operation.), but don't set it&amp;nbsp;codes&amp;nbsp;go well，I wonder if there is something to with the query when executed?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 01:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583366#M7132</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-08T01:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583367#M7133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code works for the two services without any issue. &amp;nbsp;Could you try at your end as well:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2"&gt;Layer: States (ID: 2)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/CommercialDamageAssessment/FeatureServer/0" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/CommercialDamageAssessment/FeatureServer/0"&gt;Layer: Damage to Commercial Buildings (ID: 0)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 23:21:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583367#M7133</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-06-13T23:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583368#M7134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this issue as well and it seems related to the backend system that is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, the code worked when using on ArcGIS Online services, but when hitting client ArcGIS Server feature services, the error would occur. &amp;nbsp;Same data, same code, different environments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only difference I tracked as that the backend system of the client was Oracle. &amp;nbsp;Ended up having to just remove those parameters, but surely would be nice to figure out the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client services I access are private which is why I didn't purse it any further since I don't have data to share which can reproduce the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2017 23:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583368#M7134</guid>
      <dc:creator>ChadYoder1</dc:creator>
      <dc:date>2017-06-13T23:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583369#M7135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nagma&lt;/P&gt;&lt;P&gt;I notice in my service "Supports Pagination" and "Supports TrueCurve" are false, Is this matters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:41:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583369#M7135</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-14T01:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583370#M7136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your service "SupportPagination" option needs to be true to execute the query successfully with the QueryParameters.MaxFeatures property. You could try to execute the same query with your service from the REST End point including the "Result Record Count" option. Since the pagination is false for your service, you will receive the error, "Pagination isn't supported".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the article for the pagination and REST API property&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/technical-article/000012579" title="http://support.esri.com/technical-article/000012579"&gt;Error: Pagination is not supported&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://sampleserver6.arcgisonline.com/arcgis/sdk/rest/index.html#//02ss0000002r000000" title="http://sampleserver6.arcgisonline.com/arcgis/sdk/rest/index.html#//02ss0000002r000000"&gt;ArcGIS REST API - Services and Data Types&lt;/A&gt;&amp;nbsp;--&amp;gt;&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;resultRecordCount&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Nagma&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 05:22:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583370#M7136</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-06-14T05:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583371#M7137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357578_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/357579_pastedImage_1.png" style="width: 620px; height: 640px;" /&gt;&lt;/P&gt;&lt;P&gt;Hi Nagma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;my service pagination is false, and don't has a&lt;SPAN&gt;&amp;nbsp;"Result Record Count" option, only if&amp;nbsp;pagination is&amp;nbsp;true and then have the&amp;nbsp;"Result Record Count" option&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 01:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583371#M7137</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-19T01:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583372#M7138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;only if&amp;nbsp;pagination is&amp;nbsp;true and then have the&amp;nbsp;"Result Record Count" option?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 01:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583372#M7138</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-19T01:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583373#M7139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yan,&lt;/P&gt;&lt;P&gt;I believe so, though I haven't tested any service that has "SupportPagination: false". According tot he REST API documentation, to get the result back from the two options,&amp;nbsp;"resultOffset" and "resultrecordCount", pagination must be true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at thread below for further information about Pagination in case&amp;nbsp;you need&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/118631"&gt;How do you enable the "Supports Pagination" on a layer at 10.3?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"underlying database determines whether pagination is supported. There isn't an advanced configuration setting that can be "enabled" to allow pagination. FileGDB is not supported at 10.3 but could be supported at a later release. Certain versions of enterprise geodatabases support pagination at 10.3."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2017 17:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583373#M7139</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-06-19T17:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583374#M7140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanted to confirm that I tested with one of the service that has the &lt;STRONG&gt;"SupportPagination:false&lt;/STRONG&gt;" and when I set the QueryParameters.Maxfeatures value it throws an exception. So to use the "MaxFeatures" in Runtime, you have to have the "SupportPagination" functionality of the service.&amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 21:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583374#M7140</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-06-22T21:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set QueryParameters.MaxFeatures and catch a exception</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583375#M7141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Hi,&amp;nbsp;Nagma&lt;/SPAN&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" style="color: #222222;" /&gt;&lt;BR data-jive-statusinputadd="true" data-jive-truncation-flag="true" style="color: #222222;" /&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Could you plz check my latest(singleinstance) asked question?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 02:38:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/set-queryparameters-maxfeatures-and-catch-a/m-p/583375#M7141</guid>
      <dc:creator>xiaoguangyan</dc:creator>
      <dc:date>2017-06-23T02:38:12Z</dc:date>
    </item>
  </channel>
</rss>

