<?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 How to get selected feature(s) from Editor widget (4.x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-selected-feature-s-from-editor-widget-4/m-p/1035746#M72016</link>
    <description>&lt;P&gt;Is there a way to get the selected features when the Editor widget is engaged?&lt;/P&gt;&lt;P&gt;I was looking for a way to attach to a selection event, and then hopefully determine the features from that event, but I can't find that anywhere.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried doing the layerView watch and then using 'queryFeatures' on the layerview, but that shows all of the available features in the layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.whenLayerView(busStopLayer).then(function (busLayerView) {
    busLayerView.watch("updating", function (val) {
        if (!val) {  // wait for the bus stop layer view to finish updating
            busLayerView.queryFeatures().then(function (results) {
                 console.log(results.features);  // grabs client-side graphics
            });
        }
    });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 23:13:04 GMT</pubDate>
    <dc:creator>JeffreyWilkerson</dc:creator>
    <dc:date>2021-03-11T23:13:04Z</dc:date>
    <item>
      <title>How to get selected feature(s) from Editor widget (4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-selected-feature-s-from-editor-widget-4/m-p/1035746#M72016</link>
      <description>&lt;P&gt;Is there a way to get the selected features when the Editor widget is engaged?&lt;/P&gt;&lt;P&gt;I was looking for a way to attach to a selection event, and then hopefully determine the features from that event, but I can't find that anywhere.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried doing the layerView watch and then using 'queryFeatures' on the layerview, but that shows all of the available features in the layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.whenLayerView(busStopLayer).then(function (busLayerView) {
    busLayerView.watch("updating", function (val) {
        if (!val) {  // wait for the bus stop layer view to finish updating
            busLayerView.queryFeatures().then(function (results) {
                 console.log(results.features);  // grabs client-side graphics
            });
        }
    });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 23:13:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-get-selected-feature-s-from-editor-widget-4/m-p/1035746#M72016</guid>
      <dc:creator>JeffreyWilkerson</dc:creator>
      <dc:date>2021-03-11T23:13:04Z</dc:date>
    </item>
  </channel>
</rss>

