<?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 Editor events in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239537#M79606</link>
    <description>&lt;P&gt;How to trigger an event when that exclamation mark is added to the map ?&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6316863174112w246h540r391" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6316863174112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6316863174112w246h540r391');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6316863174112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 07:53:55 GMT</pubDate>
    <dc:creator>RemiBecheru</dc:creator>
    <dc:date>2022-12-09T07:53:55Z</dc:date>
    <item>
      <title>Editor events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239537#M79606</link>
      <description>&lt;P&gt;How to trigger an event when that exclamation mark is added to the map ?&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6316863174112w246h540r564" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6316863174112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6316863174112w246h540r564');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6316863174112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 07:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239537#M79606</guid>
      <dc:creator>RemiBecheru</dc:creator>
      <dc:date>2022-12-09T07:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Editor events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239701#M79611</link>
      <description>&lt;P&gt;You can listen for the "edits" event directly on the source layer&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-edits" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#event-edits&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 16:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239701#M79611</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-12-09T16:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Editor events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239979#M79613</link>
      <description>&lt;P&gt;Unfortunately that does not work, any other idea ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2022 12:31:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1239979#M79613</guid>
      <dc:creator>RemiBecheru</dc:creator>
      <dc:date>2022-12-11T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Editor events</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1240263#M79619</link>
      <description>&lt;P&gt;It appears that you are using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html" target="_self"&gt;Editor&lt;/A&gt; widget, so I think what you want is to capture the "&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#event-create" target="_self"&gt;create&lt;/A&gt;" event of the underlying &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html" target="_self"&gt;SketchViewModel&lt;/A&gt; instance.&amp;nbsp; In that case, it would be something like:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;editor.viewModel.sketchViewModel.on("create", function(evt) {
	if (evt.state == "complete") {
		//do something with evt.graphic here
	}
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 18:08:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-events/m-p/1240263#M79619</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-12-12T18:08:16Z</dc:date>
    </item>
  </channel>
</rss>

