<?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: Map/Feature Service and Pagination question in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818535#M414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just cut over to 2017. So I'm pretty sure it's not my SQL version. I think it's something specific to this map&amp;nbsp;services. But I can't figure out what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2020 17:12:47 GMT</pubDate>
    <dc:creator>Arne_Gelfert</dc:creator>
    <dc:date>2020-03-03T17:12:47Z</dc:date>
    <item>
      <title>Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818533#M412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I've run into an issue&amp;nbsp;that appears to be related to pagination.&amp;nbsp;Not something that I've ever thought about before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In short, I'm trying to replace an instance of&amp;nbsp;QueryTask in JSAPI tied to a dojo search field with an instance of Search so that I can use the 'suggestions' feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can't get it to work. I kept getting a pagination error. It works when I switch my FeatureLayer out for this ESRI service: &lt;A href="https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/US_Senators/FeatureServer/0"&gt;https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/US_Senators/FeatureServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So I came across this thread about pagination: &lt;A href="https://support.esri.com/en/technical-article/000012579"&gt;https://support.esri.com/en/technical-article/000012579&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and I can replicate the behavior described there when I try to run a query at the Rest endpoint using &lt;EM&gt;result offset/result record count.&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/483898_resultoffset.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/483897_1equals1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if pagination is turned on by default in SQL Server and works for FeatureLayer that are sublayers of a Map Service, why is it not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Server Manager, I don't see anything I can tweak with regard to pagination. Any ideas what I should be trying here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 16:35:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818533#M412</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2020-03-03T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818534#M413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Depends on your SQL Server version.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;SQL Server 2012 supports pagination, but 2008 does not.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 17:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818534#M413</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-03T17:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818535#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just cut over to 2017. So I'm pretty sure it's not my SQL version. I think it's something specific to this map&amp;nbsp;services. But I can't figure out what it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 17:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818535#M414</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2020-03-03T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818536#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;There are several thing covered in this article to check on your end.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000012579" title="https://support.esri.com/en/technical-article/000012579"&gt;Error: Pagination is not supported&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 17:32:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818536#M415</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-03T17:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818537#M416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, that's the same article I linked to above. I didn't see anything in there that suggested a logical place for further investigation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 19:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818537#M416</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2020-03-03T19:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818538#M417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So you have checked the map service and verified that supports advanced queries is true?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 20:04:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818538#M417</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-03T20:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Map/Feature Service and Pagination question</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818539#M418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I did and the setting was 'false'. What I couldn't figure out was why. Sorry if that wasn't clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By now, I've identified the culprit as&amp;nbsp;a layer in the ArcGIS Pro map&amp;nbsp;behind the map service that was doing some funky join between feature classes in different databases. Never seen that before, and since I didn't author the original map it took a bit longer to track down.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="color: #4c4c4c; background-color: #ffffff; margin-top: 0px; margin-bottom: 1.5rem;"&gt;&lt;SPAN class="" style="color: #595959; background-color: #f8f8f8; border-width: 1px 0px 1px 1px; border-style: solid none solid solid; border-color: #efefef initial #efefef #efefef; padding: 0px 0px 0px 0.15rem;"&gt;supportsAdvancedQueries&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;would return false in the following scenarios:&lt;/P&gt;&lt;UL style="color: #4c4c4c; background-color: #ffffff; font-size: 0.9375rem; margin-left: 0.75rem; margin-top: 0px; margin-bottom: 1.5rem; padding: 0px;"&gt;&lt;LI style="margin: 0.375rem 0px 0.375rem 1.5rem;"&gt;The layer / table resides in a workspace other than an enterprise database or File Geodatabase.&lt;/LI&gt;&lt;LI style="margin: 0.375rem 0px 0.375rem 1.5rem;"&gt;The layer / table is joined&lt;EM&gt;&lt;STRONG&gt; with another layer / table from a different workspace.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;from:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/rest/services-reference/layer-table.htm" title="https://developers.arcgis.com/rest/services-reference/layer-table.htm"&gt;Layer / Table—ArcGIS REST API: Services Directory | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks for taking the time to look at this, Robert!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2020 21:43:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/map-feature-service-and-pagination-question/m-p/818539#M418</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2020-03-03T21:43:56Z</dc:date>
    </item>
  </channel>
</rss>

