<?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 all fields - how? in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/get-all-fields-how/m-p/758048#M6787</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I get all service's fields (FIELDS listed on a webserver site) without performing a direct identify?... Which is the query / code? :S&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[[&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;dynLayer1&lt;/SPAN&gt;&lt;SPAN&gt; mapServiceInfo] layerInfos]; -&amp;gt; always empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, using this code the service info is no longer empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I still can't return the whole list of fields. Maximum I can get is the name of the service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NSError *error = nil; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:layer1url error:&amp;amp;error];&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2011 08:56:47 GMT</pubDate>
    <dc:creator>StanislavGusakov</dc:creator>
    <dc:date>2011-03-07T08:56:47Z</dc:date>
    <item>
      <title>Get all fields - how?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/get-all-fields-how/m-p/758048#M6787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How can I get all service's fields (FIELDS listed on a webserver site) without performing a direct identify?... Which is the query / code? :S&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[[&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;dynLayer1&lt;/SPAN&gt;&lt;SPAN&gt; mapServiceInfo] layerInfos]; -&amp;gt; always empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok, using this code the service info is no longer empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I still can't return the whole list of fields. Maximum I can get is the name of the service layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NSError *error = nil; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:layer1url error:&amp;amp;error];&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 08:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/get-all-fields-how/m-p/758048#M6787</guid>
      <dc:creator>StanislavGusakov</dc:creator>
      <dc:date>2011-03-07T08:56:47Z</dc:date>
    </item>
  </channel>
</rss>

