<?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 queryRelatedFeaturesWithParameters - Offline Related Table in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/queryrelatedfeatureswithparameters-offline-related/m-p/729672#M6537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is -queryRelatedFeaturesWithParameters() the only method that can be used when querying a non-spatial offline table? It seems that the AGSRelationshipQuery class assumes that we use the OBJECTID as the link between the feature table and related table, which my application does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In my application, we allow the user to specify any field they want as the link. For example, 'HydrantID' could be the common linking field between our feature table and related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;As always, we have used the AGSQuery class for querying related records, using a custom 'where' clause. Unless I'm mistaken, this custom 'where' clause does not exist in the AGSRelationshipQuery object. This is the problem. Does anyone have a suggestion as to how to query an offline related table without using the OBJECTID as the link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Colin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 15:33:55 GMT</pubDate>
    <dc:creator>ColinCole</dc:creator>
    <dc:date>2014-12-17T15:33:55Z</dc:date>
    <item>
      <title>queryRelatedFeaturesWithParameters - Offline Related Table</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/queryrelatedfeatureswithparameters-offline-related/m-p/729672#M6537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Is -queryRelatedFeaturesWithParameters() the only method that can be used when querying a non-spatial offline table? It seems that the AGSRelationshipQuery class assumes that we use the OBJECTID as the link between the feature table and related table, which my application does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In my application, we allow the user to specify any field they want as the link. For example, 'HydrantID' could be the common linking field between our feature table and related table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;As always, we have used the AGSQuery class for querying related records, using a custom 'where' clause. Unless I'm mistaken, this custom 'where' clause does not exist in the AGSRelationshipQuery object. This is the problem. Does anyone have a suggestion as to how to query an offline related table without using the OBJECTID as the link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Colin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 15:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/queryrelatedfeatureswithparameters-offline-related/m-p/729672#M6537</guid>
      <dc:creator>ColinCole</dc:creator>
      <dc:date>2014-12-17T15:33:55Z</dc:date>
    </item>
  </channel>
</rss>

