<?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(add) unsuccessful with Non-Spatial Table in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-add-unsuccessful-with-non-spatial-table/m-p/51411#M4530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/33632"&gt;Alex Magruder&lt;/A&gt;​ - that might be a JSAPI bug.&amp;nbsp; Any chance you have, or could create, a small repro case on jsbin/jsfiddle (or here)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2015 00:00:50 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2015-09-02T00:00:50Z</dc:date>
    <item>
      <title>ApplyEdits(add) unsuccessful with Non-Spatial Table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-add-unsuccessful-with-non-spatial-table/m-p/51410#M4529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using a FeatureLayer created from a &lt;SPAN style="font-weight: bold; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; background: transparent;"&gt;featureCollectionObject &lt;/CODE&gt;&lt;/SPAN&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; background: transparent;"&gt;that is based on a &lt;/CODE&gt;non-spatial table. The featureLayer loads correctly and I can use it in my webApp. I can successfully perform applyEdits that update or delete features on the featureLayer. But it is unsuccessful when I try to perform an applyEdits that adds features. The applyEdits(add) result object has a success: true property and a poplulated objectId property, but the graphic is not added to the featureLayer. The featureLayer's _nextId property is a valid number. Using the same graphic on the applyEdits(add) rest service successfully adds the graphic to the service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TLDR:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;FeatureLayer is created from a featureCollection based on a non-spatial table&lt;/LI&gt;&lt;LI&gt;FeatureLayer can update and delete graphics using the applyEdits method&lt;/LI&gt;&lt;LI&gt;Adding a feature using the applyEdits method returns with a success true result but the graphic is not added&lt;/LI&gt;&lt;LI&gt;I can successfully add the same graphic to the rest service using applyEdits&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2015 13:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-add-unsuccessful-with-non-spatial-table/m-p/51410#M4529</guid>
      <dc:creator>AlexMagruder</dc:creator>
      <dc:date>2015-09-01T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: ApplyEdits(add) unsuccessful with Non-Spatial Table</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-add-unsuccessful-with-non-spatial-table/m-p/51411#M4530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/33632"&gt;Alex Magruder&lt;/A&gt;​ - that might be a JSAPI bug.&amp;nbsp; Any chance you have, or could create, a small repro case on jsbin/jsfiddle (or here)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 00:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/applyedits-add-unsuccessful-with-non-spatial-table/m-p/51411#M4530</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2015-09-02T00:00:50Z</dc:date>
    </item>
  </channel>
</rss>

