<?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 FeatureService LayerInfos for GDB Parameter in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/get-featureservice-layerinfos-for-gdb-parameter/m-p/203804#M1228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an app that will need to download an offline GDB using the .NET sdk: 100.1 (C# xamarin android).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the GDB parameters is a list of layers you want to download. I would like to first read the list of layers from the FeatureService and pass that variable into the GDB parameters. I was thinking I might use&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;ArcGISFeatureServiceInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;LayerInfos&lt;/SPAN&gt;&amp;nbsp; but cannot figure out how to get this to work. A code sample that shows this would be great.&amp;nbsp;I'm actually not finding any samples for the&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Esri.ArcGISRuntime.ArcGISServices Namespace at all in the 100.1 API reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I had this sample URI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/MapServer" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/MapServer"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I get the ArcGISFeatureServiceInfo.LayersInfos from this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Bradley&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2017 18:54:45 GMT</pubDate>
    <dc:creator>BradleyAndrick3</dc:creator>
    <dc:date>2017-08-11T18:54:45Z</dc:date>
    <item>
      <title>Get FeatureService LayerInfos for GDB Parameter</title>
      <link>https://community.esri.com/t5/developers-questions/get-featureservice-layerinfos-for-gdb-parameter/m-p/203804#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am developing an app that will need to download an offline GDB using the .NET sdk: 100.1 (C# xamarin android).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the GDB parameters is a list of layers you want to download. I would like to first read the list of layers from the FeatureService and pass that variable into the GDB parameters. I was thinking I might use&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;ArcGISFeatureServiceInfo&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;LayerInfos&lt;/SPAN&gt;&amp;nbsp; but cannot figure out how to get this to work. A code sample that shows this would be great.&amp;nbsp;I'm actually not finding any samples for the&amp;nbsp;&lt;SPAN style="color: #000000;"&gt;Esri.ArcGISRuntime.ArcGISServices Namespace at all in the 100.1 API reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I had this sample URI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/MapServer" title="http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/MapServer"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/Sync/SaveTheBaySync/FeatureServer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I get the ArcGISFeatureServiceInfo.LayersInfos from this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Bradley&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 18:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/get-featureservice-layerinfos-for-gdb-parameter/m-p/203804#M1228</guid>
      <dc:creator>BradleyAndrick3</dc:creator>
      <dc:date>2017-08-11T18:54:45Z</dc:date>
    </item>
  </channel>
</rss>

