<?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: layer.getselectedFeature in ArcGIS JS 3.xx in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685784#M18126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;&amp;nbsp;that is very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2020 02:43:32 GMT</pubDate>
    <dc:creator>VictorTey</dc:creator>
    <dc:date>2020-06-19T02:43:32Z</dc:date>
    <item>
      <title>layer.getselectedFeature in ArcGIS JS 3.xx</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685782#M18124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have searched high and low and there simply isn't a way to determine if a feature have been selected on a layer in ArcGIS Javascript 3.xx. (in PRO SDK, its literally a one-liner)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My use-case requires me to determine the features that are selected in the attribute-table widget and the only way I can achieve that is by digging in the layer and search for _graphicalVal. I am sure there must be a&amp;nbsp;proper way to do this, perhaps through a proper API? Would anyone be able to advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not find anything in the layers api, layersInfo/Struct/Node etc api&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/497002_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 09:03:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685782#M18124</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2020-06-18T09:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: layer.getselectedFeature in ArcGIS JS 3.xx</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685783#M18125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Where is&amp;nbsp;your code that needs to know the selected features? In a Widget or in one of the jimu.js mangers? Normally I would get a reference to the AT widget and then _activeTable.layerInfo or .layer to get the layer that the active table represents. You can get an array of selected OIDs from the&amp;nbsp;&lt;SPAN&gt;_activeTable.&lt;/SPAN&gt;selectionRows variable or get the actual selected features(graphics) using _activeTable.layer.getSelectedFeatures()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685783#M18125</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-06-18T12:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: layer.getselectedFeature in ArcGIS JS 3.xx</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685784#M18126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much &lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;&amp;nbsp;that is very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2020 02:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-getselectedfeature-in-arcgis-js-3-xx/m-p/685784#M18126</guid>
      <dc:creator>VictorTey</dc:creator>
      <dc:date>2020-06-19T02:43:32Z</dc:date>
    </item>
  </channel>
</rss>

