<?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: Obtaining service layer ID from AGSGDBFeatureTable in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341389#M2957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there isn't a way to get the layer ID currently. We can look into adding it for an upcoming release. How do you plan to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you used the AGSGDBSyncTask to generate the geodatabase, the task has a property called featureServiceInfo, which in turn has an array of layer infos for each layer in the service. This layer info contains both name and ID of the sub layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, if you already happen to have the layer ID and want to get the corresponding feature table,&amp;nbsp; you can use &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_g_d_b_geodatabase.html#aa73da8794356c10cf227bd7baa87c43d" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_g_d_b_geodatabase.html#aa73da8794356c10cf227bd7baa87c43d"&gt;[AGSGDBGeodatabase featureTableForLayerID:]&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Aug 2014 16:45:27 GMT</pubDate>
    <dc:creator>DiveshGoyal</dc:creator>
    <dc:date>2014-08-05T16:45:27Z</dc:date>
    <item>
      <title>Obtaining service layer ID from AGSGDBFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341388#M2956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one help me in obtaining the service layer ID from AGSGDBFeatureTable of a geodatabase?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, there is only the 'serviceLayerName' property attributed to the feature table. But in Android SDK, there is a specific API to retrieve layer ID (getFeatureServiceLayerId) from feature table of geodatabase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 14:45:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341388#M2956</guid>
      <dc:creator>ShankaralingamG</dc:creator>
      <dc:date>2014-08-04T14:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining service layer ID from AGSGDBFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341389#M2957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there isn't a way to get the layer ID currently. We can look into adding it for an upcoming release. How do you plan to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you used the AGSGDBSyncTask to generate the geodatabase, the task has a property called featureServiceInfo, which in turn has an array of layer infos for each layer in the service. This layer info contains both name and ID of the sub layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, if you already happen to have the layer ID and want to get the corresponding feature table,&amp;nbsp; you can use &lt;A href="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_g_d_b_geodatabase.html#aa73da8794356c10cf227bd7baa87c43d" title="https://developers.arcgis.com/ios/api-reference/interface_a_g_s_g_d_b_geodatabase.html#aa73da8794356c10cf227bd7baa87c43d"&gt;[AGSGDBGeodatabase featureTableForLayerID:]&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 16:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341389#M2957</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2014-08-05T16:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Obtaining service layer ID from AGSGDBFeatureTable</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341390#M2958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. It solved the purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 16:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/obtaining-service-layer-id-from-agsgdbfeaturetable/m-p/341390#M2958</guid>
      <dc:creator>ShankaralingamG</dc:creator>
      <dc:date>2014-08-13T16:31:39Z</dc:date>
    </item>
  </channel>
</rss>

