<?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: Accessing Relationship table from a Map Service in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1267692#M7576</link>
    <description>&lt;P&gt;Hi there, thank you for reaching out and sorry for the extended reply time.&lt;/P&gt;&lt;P&gt;The relationships table can be accessed by inspecting the &lt;STRONG&gt;mapImageSublayers&lt;/STRONG&gt; property of a&amp;nbsp;&lt;STRONG&gt;AGSArcGISMapImageLayer&lt;/STRONG&gt;. Each sublayer will have sublayer info that contains a set of relationship infos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll attach a modified version of the view controller that prototypes this out. It will print the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class=""&gt;Loading MapServer...&lt;/P&gt;&lt;P class=""&gt;Loaded&lt;/P&gt;&lt;P class=""&gt;BLD_Res_Bld_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Est_Bldg_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Sex_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Above15_Less15_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Density_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_NEcoRel2WrkFrce2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Abv10_Edu_Lev_2020_DL&lt;/P&gt;&lt;P class=""&gt;BLD_BuildingStorey_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Occupation_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Use_2020_DL&lt;/P&gt;&lt;P class=""&gt;Est_by_Sector_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Abv15MF_EcNEco_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Sector_2020_DL&lt;/P&gt;&lt;P class=""&gt;HHold_Indi_FamSze_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_AgeGroups_2020_DL&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 14 Mar 2023 18:07:37 GMT</pubDate>
    <dc:creator>DavidFeinzimer</dc:creator>
    <dc:date>2023-03-14T18:07:37Z</dc:date>
    <item>
      <title>Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1265343#M7572</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am developing an iOS app on&amp;nbsp;Xcode 14.2 using Swift 5.7&amp;nbsp;and ArcGIS Runtime SDK for iOS 100.15.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am using a map service of Census Data (link as below).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/" target="_blank" rel="noopener"&gt;https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I want to access the Relationship table as listed in attached file&amp;nbsp;&lt;/FONT&gt;&lt;A href="https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/0" target="_blank" rel="noopener"&gt;QSA.Census_District_2020&lt;/A&gt; (0). I&amp;nbsp;&lt;FONT face="arial, helvetica, sans-serif"&gt;couldn't find any code on developer community to do so.&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;I would be very grateful if anyone can help me in this regards.&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;BLD_Res_Bld_Type_2020_DL (0) -- &lt;I&gt;Related To&lt;/I&gt;: &lt;A href="https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/210" target="_blank" rel="noopener"&gt;BLD_Res_Bldg_Type_2020_DL&lt;/A&gt; (210)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks &amp;amp; regards,&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 05:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1265343#M7572</guid>
      <dc:creator>AfrozAlam</dc:creator>
      <dc:date>2023-03-08T05:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1267692#M7576</link>
      <description>&lt;P&gt;Hi there, thank you for reaching out and sorry for the extended reply time.&lt;/P&gt;&lt;P&gt;The relationships table can be accessed by inspecting the &lt;STRONG&gt;mapImageSublayers&lt;/STRONG&gt; property of a&amp;nbsp;&lt;STRONG&gt;AGSArcGISMapImageLayer&lt;/STRONG&gt;. Each sublayer will have sublayer info that contains a set of relationship infos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll attach a modified version of the view controller that prototypes this out. It will print the following:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P class=""&gt;Loading MapServer...&lt;/P&gt;&lt;P class=""&gt;Loaded&lt;/P&gt;&lt;P class=""&gt;BLD_Res_Bld_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Est_Bldg_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Sex_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Above15_Less15_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Density_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_NEcoRel2WrkFrce2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Abv10_Edu_Lev_2020_DL&lt;/P&gt;&lt;P class=""&gt;BLD_BuildingStorey_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Occupation_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Use_2020_DL&lt;/P&gt;&lt;P class=""&gt;Est_by_Sector_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Abv15MF_EcNEco_2020_DL&lt;/P&gt;&lt;P class=""&gt;HousingUnit_Type_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_Sector_2020_DL&lt;/P&gt;&lt;P class=""&gt;HHold_Indi_FamSze_2020_DL&lt;/P&gt;&lt;P class=""&gt;Pop_AgeGroups_2020_DL&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 18:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1267692#M7576</guid>
      <dc:creator>DavidFeinzimer</dc:creator>
      <dc:date>2023-03-14T18:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1267942#M7577</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Dear David Feinzimer,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks a lot for your great help.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Afroz&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 10:37:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1267942#M7577</guid>
      <dc:creator>AfrozAlam</dc:creator>
      <dc:date>2023-03-15T10:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1270764#M7582</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;Dear David Feinzimer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;Thanks a lot for your help. But now I am facing another issue. I am trying to populate a table with all the fields of a table&amp;nbsp;&lt;STRONG&gt;Pop_Sex_2020_DL.&amp;nbsp;&lt;/STRONG&gt;It is populating but only one field though it has 3 fields. I am attaching the code with screen shots.&amp;nbsp;&lt;SPAN&gt;I would be very grateful to you for your further help in this regard.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thanks &amp;amp; regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 08:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1270764#M7582</guid>
      <dc:creator>AfrozAlam</dc:creator>
      <dc:date>2023-03-23T08:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1272259#M7585</link>
      <description>&lt;P&gt;Hi Afroz, can you please indicate which URL value your using for the&amp;nbsp;&lt;STRONG&gt;distService&lt;/STRONG&gt; variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 23:02:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1272259#M7585</guid>
      <dc:creator>DavidFeinzimer</dc:creator>
      <dc:date>2023-03-27T23:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1274558#M7595</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I want to get the values of &amp;nbsp;&lt;STRONG&gt;ENAME, ANAME &amp;amp; DIST_NO&lt;/STRONG&gt; fields from table&amp;nbsp;&lt;STRONG&gt;Pop_Sex_2020_DL &lt;/STRONG&gt;from URL&amp;nbsp;&lt;A href="https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://khazna.gisqatar.org.qa/fed/rest/services/GISUDBAP/QSA_Census_District_2020/MapServer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Afroz&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:49:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1274558#M7595</guid>
      <dc:creator>AfrozAlam</dc:creator>
      <dc:date>2023-04-03T07:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Relationship table from a Map Service</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1275453#M7599</link>
      <description>&lt;P&gt;Hi Afroz, the fields &lt;STRONG&gt;ENAME&lt;/STRONG&gt;, &lt;STRONG&gt;ANAME&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;DIST_NO&lt;/STRONG&gt; should be accessible from the district feature layer.&lt;/P&gt;&lt;P&gt;I've attached a simplified version of the code. Tapping a green outlined district will produce a console message with the information. For example, tapping the airport:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="console.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67245i61E2990B03A89B1B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="console.png" alt="console.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 19:24:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/accessing-relationship-table-from-a-map-service/m-p/1275453#M7599</guid>
      <dc:creator>DavidFeinzimer</dc:creator>
      <dc:date>2023-04-04T19:24:19Z</dc:date>
    </item>
  </channel>
</rss>

