Select to view content in your preferred language

Selection Widget Updated Version

45306
146
05-12-2011 05:24 AM
MarkHoyland
Frequent Contributor
The Selection widget has a "Select by Attributes" and "Select by Location" option similar to ArcGIS.
Widget link: http://www.arcgis.com/home/item.html?id=20ed6af9ab204548bbf092d51b51fef8

Version 1.5 of the widget replaces version 1.0

Enhancements and fixes include:
*Each time a query layer was added it was also being added to the TOC. This has been fixed.

*When resizing the widget, the datgrid would not resize properly. This has been fixed.

*Uses paging for selection of unique value list. This means that ALL values will be parsed regardless of the ArcGISServer setting to limit responses. There is an option to ESC out of a large query. (This is only for the Unique list, not getting features).
I have included an ESRI TaxParcel Layer that has 18,000+ records. Get Unique Values on the PSTLSTATE field to see this in action.
Available on my example site. The URL is on the Widget download page.

*Aliases can now be used. It will now use the Alias as set in the Featureclass. You can also override the Alias in the SelectionWidget.xml config file.

*ArcGis layers that have joined tables will now work with fully qualified field names. (thanks Dasa for the idea)

*Styling for selection colours has been documented in the SelectionWidget.xml config file (example provided).

*Styling for datagrid has been changed. It can now also be styled in SelectionWidget.xml config file (example provided). (thanks Mehul for the idea)

*Changed initial uniquevalue query to use "text='%'" instead of "where '1=1'" for Mike.:)

*You can now override scale range for layers.

*Link field now has a prefix/suffix option in the SelectionWidget.xml config file (naming convention the same as Robert SCheitlin's esearch widget)

*Shape_area and Shape_length can be used in the fields.

Link to previous thread :http://forums.arcgis.com/threads/24151-Selection-Widget-for-SFV2.2-(with-a-query-builder)
Tags (2)
0 Kudos
146 Replies
RobertScheitlin__GISP
MVP Emeritus
Marie,

   As you might have noticed this widget is no longer maintained. You would be better off using the eSearch that has about all the functionality that this widget has and more.
0 Kudos
AngieAllison
Emerging Contributor
Marie,

   As you might have noticed this widget is no longer maintained. You would be better off using the eSearch that has about all the functionality that this widget has and more.


i cant get that one to work right.  i have tried.  guess i will focus on it more, but i cant get it do do more than one "level" of a query.  need like to select diameter and material and date and i can only get it to do one of things
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Marie,

   Then you are definetly not configuring it correctly.
0 Kudos
AngieAllison
Emerging Contributor
ohhhh i am SURE of that.  LOL
0 Kudos
sofialoulad
Emerging Contributor
Hi ALL,
plz can anyone give me uncompiled code.zip FV3.0 sdk 4.6
tnx a lot 🙂
0 Kudos
sofialoulad
Emerging Contributor
I am trying to get the selection outline color to match that of my eSearch widget.  The coding is very similar, but does not seem to work correctly in the SelectionWidget.

If I don't change it in the config.xml or hard code in the mxml, I get the default browinish color.  If I change it in the config.xml or the mxml, it turns to a green color, no matter what I set it to (red, black, white, etc. always is the same green color).  In the eSearch widget I set it to 0x00FFFF and get a nice light blue outline.

Has anyone figured out how to make this change "take effect" in the SelectionWidget?

Any ideas,

R_


I do not get any errors.  Just a few warnings about length not being bindable.

R_


hi rzufelt,
plz can u send me ur uncmpiled code FV3.0 or .mxml pages
tnx a lot
0 Kudos
RhettZufelt
MVP Notable Contributor
Sofia,

I am currently out of the office, and won't be back in until next wednesday.

If you still need it the, I can dredge it up.

R_
0 Kudos
RhettZufelt
MVP Notable Contributor
This is working for me.  Not sure what all I've modified other than adding a help icon to the widget.

R_
0 Kudos
CarmellaBurdi
Deactivated User
This is working for me.  Not sure what all I've modified other than adding a help icon to the widget.

R_


What version of flex are you using?
0 Kudos
RhettZufelt
MVP Notable Contributor
have used this version in 3.1 and 3.3.  Think it was working in 3.0 also.

R_
0 Kudos