<?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 Get number of related records in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-number-of-related-records/m-p/699935#M65191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Hello all,&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;This is a cross-posting from &lt;A class="link-titled" href="https://gis.stackexchange.com" title="https://gis.stackexchange.com"&gt;Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp; as I haven't got an answer there. I hope, this is okay &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Coming to my problem: Is there any way to get the total number of related records of a feature using the ArcGIS Server "&lt;SPAN&gt;Query Related Records"&amp;nbsp;&lt;/SPAN&gt;Rest-Interface?&amp;nbsp;Since I had to set the "maxFeatureCount" to 80, the corresoponding service returns only 80 features. There are definitely more! Also the returning response includes the hint that&amp;nbsp;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit; font-size: 13px; padding: 1px 5px;"&gt;"exceededTransferLimit": true&lt;/CODE&gt;.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Using the normal "Query"-Interface I solve this issue by setting "return count only: true" and then by querying the features in several requests. As far as I can see, the&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Query Related Records"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Rest-Interface does not support these operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;&lt;SPAN&gt;Are there any other options?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jun 2017 06:44:26 GMT</pubDate>
    <dc:creator>DominikSchlarmann</dc:creator>
    <dc:date>2017-06-06T06:44:26Z</dc:date>
    <item>
      <title>Get number of related records</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-number-of-related-records/m-p/699935#M65191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Hello all,&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;This is a cross-posting from &lt;A class="link-titled" href="https://gis.stackexchange.com" title="https://gis.stackexchange.com"&gt;Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp; as I haven't got an answer there. I hope, this is okay &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Coming to my problem: Is there any way to get the total number of related records of a feature using the ArcGIS Server "&lt;SPAN&gt;Query Related Records"&amp;nbsp;&lt;/SPAN&gt;Rest-Interface?&amp;nbsp;Since I had to set the "maxFeatureCount" to 80, the corresoponding service returns only 80 features. There are definitely more! Also the returning response includes the hint that&amp;nbsp;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit; font-size: 13px; padding: 1px 5px;"&gt;"exceededTransferLimit": true&lt;/CODE&gt;.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Using the normal "Query"-Interface I solve this issue by setting "return count only: true" and then by querying the features in several requests. As far as I can see, the&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;Query Related Records"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Rest-Interface does not support these operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;&lt;SPAN&gt;Are there any other options?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 06:44:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/get-number-of-related-records/m-p/699935#M65191</guid>
      <dc:creator>DominikSchlarmann</dc:creator>
      <dc:date>2017-06-06T06:44:26Z</dc:date>
    </item>
  </channel>
</rss>

