<?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: ApplyEdits always adds a new point to the map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483929#M45096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Made it working today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found out if the point is not exactly the same, the function call applyEdits(null,[UpdateFeature],null) still create a new point feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to close this thread, I helped myself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2012 18:07:58 GMT</pubDate>
    <dc:creator>cristiBJ</dc:creator>
    <dc:date>2012-11-07T18:07:58Z</dc:date>
    <item>
      <title>ApplyEdits always adds a new point to the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483927#M45094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was doing a system based on the citizen serice request sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature layer displays ok&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try each of the three lines of code, it always add a new point to the current map, instead of updating, or deleting, it always add a new point to the feature layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;currentFeature.getLayer().applyEdits([currentFeature], null, null);&amp;nbsp; // to add new point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;currentFeature.getLayer().applyEdits(null, [currentFeature], null);&amp;nbsp; // to update attributes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;currentFeature.getLayer().applyEdits(null, null, [currentFeature]);&amp;nbsp; // to delete feature&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could possibly wrong, any clues? I have been trying... for 2 weeks.&amp;nbsp; Your help is much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 19:40:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483927#M45094</guid>
      <dc:creator>cristiBJ</dc:creator>
      <dc:date>2012-11-06T19:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyEdits always adds a new point to the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483928#M45095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;anyone can help shed a little light?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 22:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483928#M45095</guid>
      <dc:creator>cristiBJ</dc:creator>
      <dc:date>2012-11-06T22:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyEdits always adds a new point to the map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483929#M45096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Made it working today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I found out if the point is not exactly the same, the function call applyEdits(null,[UpdateFeature],null) still create a new point feature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to close this thread, I helped myself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2012 18:07:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-always-adds-a-new-point-to-the-map/m-p/483929#M45096</guid>
      <dc:creator>cristiBJ</dc:creator>
      <dc:date>2012-11-07T18:07:58Z</dc:date>
    </item>
  </channel>
</rss>

