<?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: Flex Editor - Editing Tables in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11707#M266</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;So how can we do that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add it manually to the InfoWindow it does not show up &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var attr:AttributeInspector&amp;nbsp; = new AttributeInspector();
attr.featureLayers = [featLayer];
var g:Graphic = new Graphic();
var attributes:Object = {};
g.attributes = attributes;
attr.showFeature(g, featLayer);
attr.visible = true;
attr.updateEnabled = true;
map.infoWindow.visible = true;
map.infoWindow.content = attr;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mathieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 20:29:53 GMT</pubDate>
    <dc:creator>MathieuVILLEMONT1</dc:creator>
    <dc:date>2021-12-10T20:29:53Z</dc:date>
    <item>
      <title>Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11702#M261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear ArcGIS API Flex Team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to edit a table exposed by a service from ArcGIS Server using the Flex Editor tools?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks advanced,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Portugal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 15:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11702#M261</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-04-14T15:05:19Z</dc:date>
    </item>
    <item>
      <title>Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11703#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The AttributeInspector component works fine with editing tables, but the Editor component does not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 15:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11703#M262</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-04-14T15:21:39Z</dc:date>
    </item>
    <item>
      <title>Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11704#M263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a little bit surprised with your answer (in a good way :w).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was reading the ArcGIS Flex API reference for the AttributeInspector and the inputs are FeatureLayers exposed (I suppose) from a FeatureServer. The FeatureServer cannot expose a table. I can only access this resource through a MapService (for instance ArcGISDynamicLayer). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While the FeatureLayer can be both a layer from a FeatureServer or&amp;nbsp; from a MapService I was expecting that editing functionality would only be supported when using a FeatureServer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From your explanation, I am understanding that I can use the AttributeInspector using FeatureLayers (from FeatureServer) and FeatureLayers (from MapService - both layers and tables).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is true, the attribute name FeatureLayers in the AttributeInspector and FieldInspector should change to a more friendly name &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you confirm this Bjorn?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 09:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11704#M263</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-04-16T09:54:21Z</dc:date>
    </item>
    <item>
      <title>Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11705#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Feature &lt;/SPAN&gt;&lt;STRONG&gt;Service&lt;/STRONG&gt;&lt;SPAN&gt; does support both "layers" and "tables".&amp;nbsp; See for example &lt;/SPAN&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/FeatureServer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Feature&lt;/SPAN&gt;&lt;STRONG&gt;Layer&lt;/STRONG&gt;&lt;SPAN&gt; works with layers from both Map Services and Feature Services, but they are only editable if it is an editable layer from a Feature Service.&amp;nbsp; See for example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=AttributeInspectorInfoWindowViewonly"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=AttributeInspectorInfoWindowViewonly&lt;/A&gt;&lt;SPAN&gt; for using AttributeInspector with a layer from a MapService (which are never editable).&amp;nbsp; Maybe what is confusing is the bug where in this example it seems like you can edit the data, but that's an issue with the fields in the AttributeInspector (which should be non-editable).&amp;nbsp; When you change something here, nothing actually gets saved (or sent) to the server.&amp;nbsp; The bug is that AttributeInspector seems editable even for non-editing layers, it should not. See &lt;/SPAN&gt;&lt;A href="http://wikis.esri.com/wiki/display/ag94b/Web+Mapping+APIs+%28JavaScript%2C+Flex%2C+Silverlight%29#WebMappingAPIs%28JavaScript%2C"&gt;http://wikis.esri.com/wiki/display/ag94b/Web+Mapping+APIs+%28JavaScript%2C+Flex%2C+Silverlight%29#WebMappingAPIs%28JavaScript%2C&lt;/A&gt;&lt;SPAN&gt; for known issues with Flex API 2.0 beta.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, FeatureLayer could be thought of as "FeatureLayerOrTable" or maybe better FeatureLayer-based-on-a-layer-or-a-table &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any specific suggestions for how to improve our "API Reference" and "Concepts" greatly appreciated...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 14:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11705#M264</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-04-16T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11706#M265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Much appreciated for the excellent explanation. I tried some weeks ago to publish a table for editing purposes expecting that it would become exposed by the FeatureServer but I haven't been able to achieve it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now that I have seen that it really works I'll try to figure it out where it failed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Portugal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 12:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11706#M265</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-04-17T12:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11707#M266</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;So how can we do that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add it manually to the InfoWindow it does not show up &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var attr:AttributeInspector&amp;nbsp; = new AttributeInspector();
attr.featureLayers = [featLayer];
var g:Graphic = new Graphic();
var attributes:Object = {};
g.attributes = attributes;
attr.showFeature(g, featLayer);
attr.visible = true;
attr.updateEnabled = true;
map.infoWindow.visible = true;
map.infoWindow.content = attr;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mathieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:29:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11707#M266</guid>
      <dc:creator>MathieuVILLEMONT1</dc:creator>
      <dc:date>2021-12-10T20:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11708#M267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After some research it appears the problem comes from the FeatureLayer instanciation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add it statically it works : &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:FeatureLayer id="citizen"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields="&lt;LI&gt;"&lt;/LI&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://..."/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I add it dynamically it does not :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var featLayer:FeatureLayer = new FeatureLayer("http://...", null, null);
featLayer.outFields = ["*"];&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My problem is I must add it dynamically...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea how to get the same results ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11708#M267</guid>
      <dc:creator>MathieuVILLEMONT1</dc:creator>
      <dc:date>2021-12-10T20:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Editor - Editing Tables</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11709#M268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK I think my problem was that the &lt;/SPAN&gt;&lt;STRONG&gt;layer was not loaded&lt;/STRONG&gt;&lt;SPAN&gt; and therefore did not have any &lt;/SPAN&gt;&lt;STRONG&gt;featureDetails&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found the solution on &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/29092-How-do-you-populate-Feature.layerDetails"&gt;this thread&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Robert and Walt!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 11:15:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-editor-editing-tables/m-p/11709#M268</guid>
      <dc:creator>MathieuVILLEMONT1</dc:creator>
      <dc:date>2014-03-14T11:15:58Z</dc:date>
    </item>
  </channel>
</rss>

