<?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: WAB: How to get popup info from feature layer via js function? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363300#M9661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;figured it out. =]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;evtHandler = this.map.infoWindow.on('set-features', function(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var atts = this.map.infoWindow.getSelectedFeature().attributes;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(atts);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2020 13:26:40 GMT</pubDate>
    <dc:creator>MarkJones7</dc:creator>
    <dc:date>2020-03-10T13:26:40Z</dc:date>
    <item>
      <title>WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363295#M9656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just wondering if it is possible via JS to get a layers popup information? I was hoping to just grab the info and send it to another widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 17:06:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363295#M9656</guid>
      <dc:creator>MarkJones7</dc:creator>
      <dc:date>2020-03-09T17:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363296#M9657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe this is possible when working from within the WAB framework of Portal.&amp;nbsp; You would likely need to&amp;nbsp;use the&amp;nbsp;developer edition of WAB if you're not using it already.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 17:16:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363296#M9657</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-03-09T17:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363297#M9658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Developer version of WAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 17:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363297#M9658</guid>
      <dc:creator>MarkJones7</dc:creator>
      <dc:date>2020-03-09T17:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363298#M9659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;In JS the way you get the current popup info is:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; atts &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;infoWindow&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getSelectedFeature&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;attributes&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 12:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363298#M9659</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-03-10T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363299#M9660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gather I will need some type of handler to listen to the map for when a feature is selected? Using on click doesn't seem right since it would fire where ever the user clicks on the map. =]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 13:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363299#M9660</guid>
      <dc:creator>MarkJones7</dc:creator>
      <dc:date>2020-03-10T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: WAB: How to get popup info from feature layer via js function?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363300#M9661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;figured it out. =]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;evtHandler = this.map.infoWindow.on('set-features', function(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var atts = this.map.infoWindow.getSelectedFeature().attributes;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(atts);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 13:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/wab-how-to-get-popup-info-from-feature-layer-via/m-p/363300#M9661</guid>
      <dc:creator>MarkJones7</dc:creator>
      <dc:date>2020-03-10T13:26:40Z</dc:date>
    </item>
  </channel>
</rss>

