<?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: How to Update an existing point layer using FLex api 2.5 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655592#M14666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok I see the problem but I register the database I did everything as the training book I have. How can I make it feature server/.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 14:35:05 GMT</pubDate>
    <dc:creator>HectorChapa</dc:creator>
    <dc:date>2014-02-20T14:35:05Z</dc:date>
    <item>
      <title>How to Update an existing point layer using FLex api 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655590#M14664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is what I have so far as for coding. I used some of the code from argis resources. But I was expecting to see a form to pop up when I click a particular point in the map to update its information. But here is the problem I am encountering nothing happens when I click the point. Can any one give me an xml file that achieves the same task I am trying to accomplish. I know some one here has done the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialize="application_initializeHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageTitle="Editor component with toolbar"&amp;gt;
 &amp;lt;!--
 

 &amp;lt;s:layout&amp;gt;
&amp;nbsp; &amp;lt;s:VerticalLayout gap="0"/&amp;gt;
 &amp;lt;/s:layout&amp;gt;
 
 &amp;lt;fx:Style&amp;gt;
&amp;nbsp; @namespace esri "http://www.esri.com/2008/ags";
&amp;nbsp; 
&amp;nbsp; esri|InfoWindow
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; background-color : #FFFFFF;
&amp;nbsp;&amp;nbsp; border-thickness : 2;
&amp;nbsp; }
 &amp;lt;/fx:Style&amp;gt;
 
 &amp;lt;fx:Script&amp;gt;
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.GeometryService;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import mx.events.FlexEvent;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function application_initializeHandler(event:FlexEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; myEditor.featureLayers = [ points ];
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function getFeatureCount(value:Array):int
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; return value.length;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt;
 &amp;lt;/fx:Script&amp;gt;
 
 &amp;lt;s:BorderContainer width="100%" backgroundColor="#D7D7D7"&amp;gt;
&amp;nbsp; &amp;lt;s:layout&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:VerticalLayout paddingBottom="7"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingLeft="10"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingRight="10"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingTop="7"/&amp;gt;
&amp;nbsp; &amp;lt;/s:layout&amp;gt;
&amp;nbsp; &amp;lt;s:RichText width="100%"&amp;gt;
&amp;nbsp;&amp;nbsp; This sample demonstrates how to use the editor component with a toolbar.
&amp;nbsp;&amp;nbsp; By default, the "toolbar" displays below the template picker, but you can change this with the skin parts.
&amp;nbsp; &amp;lt;/s:RichText&amp;gt;
&amp;nbsp; &amp;lt;s:Label width="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingLeft="3"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="Two feature layers with {points.numGraphics} ({getFeatureCount(points.selectedFeatures)}) points (showing selected feature count in parenthesis)."/&amp;gt;
 &amp;lt;/s:BorderContainer&amp;gt;
 
 &amp;lt;s:HGroup width="100%" height="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingLeft="5"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingTop="5"&amp;gt;
&amp;nbsp; &amp;lt;esri:Map id="myMap" wrapAround180="true"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:extent&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Extent id="sheepfire"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmin="-1.09742216352E7" ymin="3006114.7661000006" xmax="-1.08446320657E7" ymax="3100223.793400001"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SpatialReference wkid="102100"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Extent&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:extent&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer url="http://gis.lrgvdc911.org:8399/arcgis/rest/services/BaseMap/MapServer/"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer id="points"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode="onDemand"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields="[StateID, FirstName, LastName]"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url="http://gissvr:6080/arcgis/rest/services/STEARWEBMAPTEST/MapServer/0"/&amp;gt;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; &amp;lt;esri:infoWindowContent&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:AttributeInspector id="attrInsp"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FieldInspector featureLayer="{points}" fieldName="activeprod"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FieldInspector featureLayer="{points}" fieldName="StateID"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FieldInspector featureLayer="{points}" fieldName="FirstName"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FieldInspector featureLayer="{points}" fieldName="LastName"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FieldInspector&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Editor id="myEditor"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width="266"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService="{new GeometryService('http://gissvr:6080/arcgis/rest/services/Utilities/Geometry/GeometryServer')}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map="{myMap}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; toolbarVisible="true"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Editor&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:AttributeInspector&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/esri:infoWindowContent&amp;gt;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 14:01:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655590#M14664</guid>
      <dc:creator>HectorChapa</dc:creator>
      <dc:date>2014-02-20T14:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update an existing point layer using FLex api 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655591#M14665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hector,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You can not update your points when using a MapServer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;http://gissvr:6080/arcgis/rest/services/STEARWEBMAPTEST/&lt;SPAN style="color:#ff0000;"&gt;MapServer&lt;/SPAN&gt;/0&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;You can only update using a FeatureServer&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;http://gissvr:6080/arcgis/rest/services/STEARWEBMAPTEST/&lt;SPAN style="color:#ff0000;"&gt;FeatureServer&lt;/SPAN&gt;/0&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you aware of the requirements for editing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/flex/guide/editing.htm"&gt;https://developers.arcgis.com/flex/guide/editing.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 14:18:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655591#M14665</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-02-20T14:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update an existing point layer using FLex api 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655592#M14666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok I see the problem but I register the database I did everything as the training book I have. How can I make it feature server/.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 14:35:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655592#M14666</guid>
      <dc:creator>HectorChapa</dc:creator>
      <dc:date>2014-02-20T14:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to Update an existing point layer using FLex api 2.5</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655593#M14667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hector,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You have to enable "Feature Access" when you publish the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the "How does editing work?" Section of the link I provided.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 14:38:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/how-to-update-an-existing-point-layer-using-flex/m-p/655593#M14667</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-02-20T14:38:36Z</dc:date>
    </item>
  </channel>
</rss>

