<?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 howto: Query one to many relationship in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561129#M4839</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See the folowing example. How do i get the valveID of a selected feature after an identify? and is the valveID meaning the OBjectsID?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//ID of the valve for which we want to find the related pipeline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSNumber* valveID = ...; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSRelationshipQuery* relQuery = [AGSRelationshipQuery relationshipQuery];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;relQuery.objectIds = [NSArray arrayWithObject: valveID];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;relQuery.relationshipId = 0 ; //ID of 'Installed on' relationship&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[queryTask executeWithRelationshipQuery: relQuery];&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 07:18:06 GMT</pubDate>
    <dc:creator>wilkostalknecht</dc:creator>
    <dc:date>2011-06-01T07:18:06Z</dc:date>
    <item>
      <title>howto: Query one to many relationship</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561129#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See the folowing example. How do i get the valveID of a selected feature after an identify? and is the valveID meaning the OBjectsID?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//ID of the valve for which we want to find the related pipeline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NSNumber* valveID = ...; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSRelationshipQuery* relQuery = [AGSRelationshipQuery relationshipQuery];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;relQuery.objectIds = [NSArray arrayWithObject: valveID];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;relQuery.relationshipId = 0 ; //ID of 'Installed on' relationship&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[queryTask executeWithRelationshipQuery: relQuery];&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 07:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561129#M4839</guid>
      <dc:creator>wilkostalknecht</dc:creator>
      <dc:date>2011-06-01T07:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: howto: Query one to many relationship</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561130#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you need to pass ObjectIds in relQuery.objectIds. The delegate method of AGSIdentifyTask returns array of AGSIdentifyResult and it has a identified feature as Graphic. You can get the ObjectId of the feature from it's attributes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nimesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 15:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561130#M4840</guid>
      <dc:creator>NimeshJarecha</dc:creator>
      <dc:date>2011-06-02T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: howto: Query one to many relationship</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561131#M4841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Whats the statement to get AGSIdentifyResult? I'am using the FeutureLayerEditing Sample and i want to use it in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there a better way to display all fields of the feature layer and the correspond-ending layer for editing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/howto-query-one-to-many-relationship/m-p/561131#M4841</guid>
      <dc:creator>wilkostalknecht</dc:creator>
      <dc:date>2011-06-03T05:57:09Z</dc:date>
    </item>
  </channel>
</rss>

