<?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: Editor Widget with custom back end in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1234956#M79449</link>
    <description>&lt;P&gt;I found the solution:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;editor.viewModel.featureFormViewModel.on('submit', _ =&amp;gt; {
  console.log('submit');

  let values = editor.viewModel.featureFormViewModel.getValues();
  console.log(values);
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 03:14:01 GMT</pubDate>
    <dc:creator>quooston</dc:creator>
    <dc:date>2022-11-25T03:14:01Z</dc:date>
    <item>
      <title>Editor Widget with custom back end</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1234954#M79448</link>
      <description>&lt;P&gt;I am using the Editor Widget to add, update and delete features. However, the back end to the map is my own, so I am doing everything on the client. When feature layers are created, I applying the sources etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I simply want to add an event handler to these editor workflows so that I can handle the resultant pending changes myself on my own back end. Watching the viewModel of the Editor does not facilitate this. There is no change in state between supplying the edits and clicking 'Create' for example, in the create workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are also no specific events listed for the Editor Widget in the documentation. I want to intercept these events and then make the requisite calls to my back end to save the changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1234954#M79448</guid>
      <dc:creator>quooston</dc:creator>
      <dc:date>2022-11-25T03:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget with custom back end</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1234956#M79449</link>
      <description>&lt;P&gt;I found the solution:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;editor.viewModel.featureFormViewModel.on('submit', _ =&amp;gt; {
  console.log('submit');

  let values = editor.viewModel.featureFormViewModel.getValues();
  console.log(values);
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 03:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1234956#M79449</guid>
      <dc:creator>quooston</dc:creator>
      <dc:date>2022-11-25T03:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Editor Widget with custom back end</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1245848#M79783</link>
      <description>&lt;P&gt;The solution you found works for update . How did you detect the deleted features&amp;nbsp; as submit event does not get fired on delete button&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 21:19:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-with-custom-back-end/m-p/1245848#M79783</guid>
      <dc:creator>kaleem_anjum</dc:creator>
      <dc:date>2023-01-05T21:19:04Z</dc:date>
    </item>
  </channel>
</rss>

