<?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: Add/Insert Record with Javascript via POST? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511556#M47655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easiest way would be to use the JS API's feature layer and applyEdits():&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm#applyEdits"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm#applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could hit the REST endpoint directly to insert your features but why reinvent the wheel?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jul 2010 17:52:44 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2010-07-06T17:52:44Z</dc:date>
    <item>
      <title>Add/Insert Record with Javascript via POST?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511555#M47654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to figure out the best way to add a record via pure javascript.&amp;nbsp; I think the only way to accomplish this is doing to AGS via the REST api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have a working example of this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 14:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511555#M47654</guid>
      <dc:creator>KeithFraley</dc:creator>
      <dc:date>2010-07-06T14:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Insert Record with Javascript via POST?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511556#M47655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The easiest way would be to use the JS API's feature layer and applyEdits():&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm#applyEdits"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/featurelayer.htm#applyEdits&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could hit the REST endpoint directly to insert your features but why reinvent the wheel?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 17:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511556#M47655</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2010-07-06T17:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add/Insert Record with Javascript via POST?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511557#M47656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to POST request to add feature using applyEdits method, you need to use &lt;/SPAN&gt;&lt;A href="http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/ags_proxy.htm"&gt;proxy &lt;/A&gt;&lt;SPAN&gt;file which is provided by ESRI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ravi.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jul 2010 17:58:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/add-insert-record-with-javascript-via-post/m-p/511557#M47656</guid>
      <dc:creator>RaviKonaparthi</dc:creator>
      <dc:date>2010-07-12T17:58:06Z</dc:date>
    </item>
  </channel>
</rss>

