<?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 Attribute Table only displaying one field in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-table-only-displaying-one-field/m-p/369621#M8661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have setup a map service for a polyline layer that has many fields, but when I attempt to show the attribute table in my flex web application, it only displays whatever field is set as the 'display field'. When I view the description of the service by accessing the rest api by going to &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/server:port/arcgis/rest/services/myMap/MapServer/0" target="_blank"&gt;http://server:port/arcgis/rest/services/myMap/MapServer/0&lt;/A&gt;&lt;SPAN&gt; I see that all the fields are available through the service. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;lt;esri:FeatureLayer id="displayLayer" 
name="My Layer" 
url="http://server:port/arcgis/rest/services/myMap/MapServer/0"/&amp;gt;

&amp;lt;esri:AttributeTable id="myAttributeTable" width="100%" height="100%" 
featureLayer="{displayLayer}"
name="Attribute Table" /&amp;gt; 

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 17:08:23 GMT</pubDate>
    <dc:creator>KeithWeber1</dc:creator>
    <dc:date>2021-12-11T17:08:23Z</dc:date>
    <item>
      <title>Attribute Table only displaying one field</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-table-only-displaying-one-field/m-p/369621#M8661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have setup a map service for a polyline layer that has many fields, but when I attempt to show the attribute table in my flex web application, it only displays whatever field is set as the 'display field'. When I view the description of the service by accessing the rest api by going to &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/server:port/arcgis/rest/services/myMap/MapServer/0" target="_blank"&gt;http://server:port/arcgis/rest/services/myMap/MapServer/0&lt;/A&gt;&lt;SPAN&gt; I see that all the fields are available through the service. Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

&amp;lt;esri:FeatureLayer id="displayLayer" 
name="My Layer" 
url="http://server:port/arcgis/rest/services/myMap/MapServer/0"/&amp;gt;

&amp;lt;esri:AttributeTable id="myAttributeTable" width="100%" height="100%" 
featureLayer="{displayLayer}"
name="Attribute Table" /&amp;gt; 

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-table-only-displaying-one-field/m-p/369621#M8661</guid>
      <dc:creator>KeithWeber1</dc:creator>
      <dc:date>2021-12-11T17:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Table only displaying one field</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-table-only-displaying-one-field/m-p/369622#M8662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Keith,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You need to add outfields to your featurelayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:FeatureLayer id="displayLayer"&amp;nbsp; name="My Layer" &lt;SPAN style="color:#ff0000;"&gt;outFields="*"&lt;/SPAN&gt;&amp;nbsp; url="http://server:port/arcgis/rest/services/myMap/MapServer/0"/&amp;gt; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 17:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/attribute-table-only-displaying-one-field/m-p/369622#M8662</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-03-21T17:38:22Z</dc:date>
    </item>
  </channel>
</rss>

