<?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: Will applyEdits support gdbVersion on a feature service? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-applyedits-support-gdbversion-on-a-feature/m-p/420052#M38586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up with calling&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-layer-.htm"&gt;applyEdits REST API&lt;/A&gt;&amp;nbsp;of the feature layer to apply edits to the version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;axios({&lt;BR /&gt;&amp;nbsp; method: 'post',&lt;BR /&gt;&amp;nbsp; url: fs_url + '/2/applyEdits',&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; data: 'f=pjson&amp;amp;gdbVersion=' + gdbVersion + '&amp;amp;adds=[' + JSON.stringify(newFeatures) + ']&amp;amp;updates=[' + JSON.stringify(editFeatures) + ']'&lt;BR /&gt;})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2019 17:59:13 GMT</pubDate>
    <dc:creator>RL1</dc:creator>
    <dc:date>2019-10-09T17:59:13Z</dc:date>
    <item>
      <title>Will applyEdits support gdbVersion on a feature service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-applyedits-support-gdbversion-on-a-feature/m-p/420051#M38585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying the new Editor widget in JS 4.11 (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html&lt;/A&gt;) with a branch versioned feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, the gdbVersion on the FeatureLayer (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html&lt;/A&gt;) is not sent with the applyEdits method. In fact, the documentation of the applyEdits method does not show many of the parameters in the&amp;nbsp;REST API (&lt;A href="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-.htm"&gt;https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-.htm&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;Will editing versioned feature services be supported in the JavaScript API?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2019 07:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-applyedits-support-gdbversion-on-a-feature/m-p/420051#M38585</guid>
      <dc:creator>CalinArens1</dc:creator>
      <dc:date>2019-05-21T07:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Will applyEdits support gdbVersion on a feature service?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-applyedits-support-gdbversion-on-a-feature/m-p/420052#M38586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up with calling&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/apply-edits-feature-service-layer-.htm"&gt;applyEdits REST API&lt;/A&gt;&amp;nbsp;of the feature layer to apply edits to the version&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;axios({&lt;BR /&gt;&amp;nbsp; method: 'post',&lt;BR /&gt;&amp;nbsp; url: fs_url + '/2/applyEdits',&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; data: 'f=pjson&amp;amp;gdbVersion=' + gdbVersion + '&amp;amp;adds=[' + JSON.stringify(newFeatures) + ']&amp;amp;updates=[' + JSON.stringify(editFeatures) + ']'&lt;BR /&gt;})&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 17:59:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/will-applyedits-support-gdbversion-on-a-feature/m-p/420052#M38586</guid>
      <dc:creator>RL1</dc:creator>
      <dc:date>2019-10-09T17:59:13Z</dc:date>
    </item>
  </channel>
</rss>

