<?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: Selection Widget by mhoyland does not populate grid in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564538#M16154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Billy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What was your issue with the fields and lists?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the infowindow not closing, here is the fix:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the following to the end of the &lt;/SPAN&gt;&lt;STRONG&gt;featureLayer_selectionHandler &lt;/STRONG&gt;&lt;SPAN&gt;function in SelectionWidget.mxml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (event.type == FeatureLayerEvent.SELECTION_CLEAR)
{
 this.showInfoWindow(null);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen your question in the other thread and I have got no idea on this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically what the widget dose is adds a feature layer to the map, and then selects features from it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What projection is your base map and what projection is your featurelayer? (from the selectionwidget.xml) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will see if I can set up a service with a large point layer and try to replicate the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to sort through the issues when I can, as I tinker with these widgets in my spare time for my own personal enjoyment (sad but true!).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 00:19:55 GMT</pubDate>
    <dc:creator>MarkHoyland</dc:creator>
    <dc:date>2021-12-12T00:19:55Z</dc:date>
    <item>
      <title>Selection Widget by mhoyland does not populate grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564536#M16152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I query on a layer in the query builder, the widget finds the item and zooms to it but the list is not populated. On layers that have a simple number in the field the list is populated only on the first item. Is there a fix to this? Also when I clear the selection the highlight graphic goes away but the infowindow does not. Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Billy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 18:52:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564536#M16152</guid>
      <dc:creator>City_of_Port_Angeles_GIS</dc:creator>
      <dc:date>2011-03-21T18:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Widget by mhoyland does not populate grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564537#M16153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Never mind, figured it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Billy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2011 21:24:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564537#M16153</guid>
      <dc:creator>City_of_Port_Angeles_GIS</dc:creator>
      <dc:date>2011-03-24T21:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Widget by mhoyland does not populate grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564538#M16154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Billy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What was your issue with the fields and lists?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the infowindow not closing, here is the fix:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add the following to the end of the &lt;/SPAN&gt;&lt;STRONG&gt;featureLayer_selectionHandler &lt;/STRONG&gt;&lt;SPAN&gt;function in SelectionWidget.mxml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (event.type == FeatureLayerEvent.SELECTION_CLEAR)
{
 this.showInfoWindow(null);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have seen your question in the other thread and I have got no idea on this one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically what the widget dose is adds a feature layer to the map, and then selects features from it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What projection is your base map and what projection is your featurelayer? (from the selectionwidget.xml) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I will see if I can set up a service with a large point layer and try to replicate the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try to sort through the issues when I can, as I tinker with these widgets in my spare time for my own personal enjoyment (sad but true!).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564538#M16154</guid>
      <dc:creator>MarkHoyland</dc:creator>
      <dc:date>2021-12-12T00:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Widget by mhoyland does not populate grid</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564539#M16155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mark,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for the InfoWindow fix. The issue I had with the Data Grid not being populated had to do with the name of the feature class in SDE. When the database was first setup, my property feature class was titled production.PWGIS.property and the data sets within were all prefixed with this name. I suppose this was done because we have two databases on SDE. One is for in house use and the other is for the public which cannot be edited. So my parcel layer is called production.PWGIS.property.parcels. It looks like a full path name but is really the actual name of the data set. All the data sets in the property class are named this way. The other data sets though did populate the grid correctly. On investigating, I found that all the data sets except parcels had an alias that did not have the prefix and I was using the alias in the Selection Widget. Changing the parcels alias to "parcels" fixed the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Still can't figure out the wierd placement of the icons, though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Billy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 16:57:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/selection-widget-by-mhoyland-does-not-populate/m-p/564539#M16155</guid>
      <dc:creator>City_of_Port_Angeles_GIS</dc:creator>
      <dc:date>2011-03-25T16:57:37Z</dc:date>
    </item>
  </channel>
</rss>

