<?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 Problems with editing a feature layer in selection mode in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-editing-a-feature-layer-in-selection/m-p/579870#M54105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature layer available in selection mode that I am editing as well as a mapservice that represents the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;same data - very similar to the sample @:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_selectionmode.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_selectionmode.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the template picker and the attribute inspector, so both spatial and attribute editing is required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the selected feature does not "unselect" (featureservice graphics remains visible even after edit session is closed)&amp;nbsp; and the mapservice version of the feature is not displayed until the entire application is refreshed (page is reloaded).&amp;nbsp; I've refreshed my mapservice in the code (mapservice.refresh), and added a featurelayer.clearselection call. However, the map service version of the feature still doesn't display.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remain in the editing session and create a new feature, the previous edited feature displays as it should (map service symbol not as feature service graphic).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it seems that with each feature edit, I'm never getting to a state where the feature service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;knows that the edits are complete (unless I move on to editing a new feature).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help with this would be awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2012 17:27:30 GMT</pubDate>
    <dc:creator>JustinAnderson</dc:creator>
    <dc:date>2012-07-27T17:27:30Z</dc:date>
    <item>
      <title>Problems with editing a feature layer in selection mode</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-editing-a-feature-layer-in-selection/m-p/579870#M54105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a feature layer available in selection mode that I am editing as well as a mapservice that represents the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;same data - very similar to the sample @:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_selectionmode.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/ed/ed_selectionmode.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the template picker and the attribute inspector, so both spatial and attribute editing is required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the selected feature does not "unselect" (featureservice graphics remains visible even after edit session is closed)&amp;nbsp; and the mapservice version of the feature is not displayed until the entire application is refreshed (page is reloaded).&amp;nbsp; I've refreshed my mapservice in the code (mapservice.refresh), and added a featurelayer.clearselection call. However, the map service version of the feature still doesn't display.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remain in the editing session and create a new feature, the previous edited feature displays as it should (map service symbol not as feature service graphic).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it seems that with each feature edit, I'm never getting to a state where the feature service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;knows that the edits are complete (unless I move on to editing a new feature).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help with this would be awesome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2012 17:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problems-with-editing-a-feature-layer-in-selection/m-p/579870#M54105</guid>
      <dc:creator>JustinAnderson</dc:creator>
      <dc:date>2012-07-27T17:27:30Z</dc:date>
    </item>
  </channel>
</rss>

