<?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: Create web design to save changes with ajax in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-web-design-to-save-changes-with-ajax/m-p/442377#M40846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So I need to use Ajax to save the feature changes of the layer. Any idea how I could do this using HTML and JS?&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am&amp;nbsp; not sure I completely understand your question.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you referirng to waiting/deferring the save action until the user selects save and then post all the edits to the server? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you indicating that you would rather use your own custom applyEdits or utilize the existing featureLayer.applyEdits to post changes to you layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.applyEdits documentation: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/featurelayer-amd.html#applyedits"&gt;https://developers.arcgis.com/en/javascript/jsapi/featurelayer-amd.html#applyedits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of using the built in editor widget: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/ed_simpletoolbar.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/ed_simpletoolbar.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the featureLayer with the featureCollection option to create a featureLayer in memory and then create a function to post all changes to the featureLayer in your SDE database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_featureCollection.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/fl_featureCollection.html&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please give more information?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Aug 2013 18:47:16 GMT</pubDate>
    <dc:creator>DianaBenedict</dc:creator>
    <dc:date>2013-08-13T18:47:16Z</dc:date>
    <item>
      <title>Create web design to save changes with ajax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-web-design-to-save-changes-with-ajax/m-p/442376#M40845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="color:&amp;quot;#0377BE&amp;quot;;"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am creating a web &lt;A href="http://www.sitepor500.com.br/index.php?q=criacao-site-divulgacao" rel="nofollow"&gt;design&lt;/A&gt; using lots of HTML5 and Ajax without the need to reload the page at every user interaction. So I need to use Ajax to save the feature changes of the layer. Any idea how I could do this using HTML and JS?&lt;BR /&gt;&lt;BR /&gt;Any help will be welcome.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:51:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-web-design-to-save-changes-with-ajax/m-p/442376#M40845</guid>
      <dc:creator>RodrigoPam</dc:creator>
      <dc:date>2013-08-12T16:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create web design to save changes with ajax</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-web-design-to-save-changes-with-ajax/m-p/442377#M40846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So I need to use Ajax to save the feature changes of the layer. Any idea how I could do this using HTML and JS?&lt;BR /&gt; &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am&amp;nbsp; not sure I completely understand your question.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you referirng to waiting/deferring the save action until the user selects save and then post all the edits to the server? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you indicating that you would rather use your own custom applyEdits or utilize the existing featureLayer.applyEdits to post changes to you layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.applyEdits documentation: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/featurelayer-amd.html#applyedits"&gt;https://developers.arcgis.com/en/javascript/jsapi/featurelayer-amd.html#applyedits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is an example of using the built in editor widget: &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/ed_simpletoolbar.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/ed_simpletoolbar.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the featureLayer with the featureCollection option to create a featureLayer in memory and then create a function to post all changes to the featureLayer in your SDE database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/fl_featureCollection.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/fl_featureCollection.html&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please give more information?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 18:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-web-design-to-save-changes-with-ajax/m-p/442377#M40846</guid>
      <dc:creator>DianaBenedict</dc:creator>
      <dc:date>2013-08-13T18:47:16Z</dc:date>
    </item>
  </channel>
</rss>

