<?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 Editor attribute inspector only show first attribute in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638712#M14176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure I am missing something but I just cannot discover it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a map in Flex and added two feature layers using ActionScript (note that I did not put any &amp;lt;esri:ArcGISDynamicMapServiceLayer&amp;gt;tag under &amp;lt;esri:Map id="map"&amp;gt; in mxml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then under the map tag, I assigned an editor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Editor id="editor" map="{map} toolbarVisible="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the map initialize function, I added two feature layers using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Initialize layer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer1= new com.esri.ags.layers.FeatureLayer(url1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer1.id = "layer1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(layer1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Initialize layer2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer2= new com.esri.ags.layers.FeatureLayer(url2);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;caLayer.id = "layer2";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(layer2);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally in the initialize function I assigned the editor with the two feature layers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Assign feature layers to the editor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;editor.featureLayers = [layer1, layer2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The effect is I can see the two feature layers in my Flex application, and I can also see the editor with correct layer information (shape and symbol). However, when I click on any of those features on the map, the attribute inspector is only showing the first attribute of the feature and there is no scroll bar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone knows why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2011 18:19:53 GMT</pubDate>
    <dc:creator>deleted-user-Q-LwcOmvpdjW</dc:creator>
    <dc:date>2011-09-30T18:19:53Z</dc:date>
    <item>
      <title>Editor attribute inspector only show first attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638712#M14176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure I am missing something but I just cannot discover it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a map in Flex and added two feature layers using ActionScript (note that I did not put any &amp;lt;esri:ArcGISDynamicMapServiceLayer&amp;gt;tag under &amp;lt;esri:Map id="map"&amp;gt; in mxml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then under the map tag, I assigned an editor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;esri:Editor id="editor" map="{map} toolbarVisible="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the map initialize function, I added two feature layers using the following code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Initialize layer1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer1= new com.esri.ags.layers.FeatureLayer(url1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer1.id = "layer1";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(layer1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Initialize layer2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer2= new com.esri.ags.layers.FeatureLayer(url2);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;caLayer.id = "layer2";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.addLayer(layer2);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally in the initialize function I assigned the editor with the two feature layers:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Assign feature layers to the editor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;editor.featureLayers = [layer1, layer2];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The effect is I can see the two feature layers in my Flex application, and I can also see the editor with correct layer information (shape and symbol). However, when I click on any of those features on the map, the attribute inspector is only showing the first attribute of the feature and there is no scroll bar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone knows why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 18:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638712#M14176</guid>
      <dc:creator>deleted-user-Q-LwcOmvpdjW</dc:creator>
      <dc:date>2011-09-30T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Editor attribute inspector only show first attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638713#M14177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you find an answer? I am experiencing the same issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 13:46:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638713#M14177</guid>
      <dc:creator>KeithGerhartz1</dc:creator>
      <dc:date>2012-03-28T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Editor attribute inspector only show first attribute</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638714#M14178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This problem was resolved in my case by making sure to specify the outfields for the layer that was added to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var featureLayer:FeatureLayer = new FeatureLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.outFields = ['*'];&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 15:29:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/editor-attribute-inspector-only-show-first/m-p/638714#M14178</guid>
      <dc:creator>KeithGerhartz1</dc:creator>
      <dc:date>2012-03-28T15:29:02Z</dc:date>
    </item>
  </channel>
</rss>

