Select to view content in your preferred language

Enhanced Search Widget for FlexViewer 2.1

145922
767
10-25-2010 02:13 PM
RobertScheitlin__GISP
MVP Emeritus
All Here is my next widget in the FlexViewer 2.1 series

Special thanks to Erwan Caradec for contributing to this code.

The Enhanced Search Widget extends the standard search widget with a floating data grid and a new spatial query w/buffering.

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e
Tags (2)
0 Kudos
767 Replies
EmilyLaMunyon
Deactivated User
Hi Robert,

It's Emily again..I know I am full of questions:confused:

I have implemented the uncompiled version of your esearch widget in Flash Builder and am looking to make some changes. For instance, if possible, which code/mxml file would I change if I were looking to make the search icons into buttons (similar to the Search and Clear buttons at the bottom)?

Also, how to I remove the search widget icon that appears on the upper left-hand side of the window?

Thanks!
0 Kudos
LarryPhelps
Regular Contributor
Emily,

   Nope... Not currently but this seems like a good Idea I will add it to the wish list.


Robert this is good timing for me on this discussion. I was just beginning to look into how to use the popup configs in both the eSearch and the Identify tool for viewer 2.4

It looks like ESRI is deprecating the Infowidget, so I assume you have plans to utilize popup's in these widgets ?

That would enable us to use the freeform html in the description tag.

Thanks for your time and all your great widgets !!!!
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Emily,

   If you are taking about the images that act as button in the graphical search portion than you have a lot of work to do to change those to actual button as the code is expecting those to be images and is properties of the image to define certain other portions of code...

how to I remove the search widget icon that appears on the upper left-hand side of the window
That icon is part of the widget template and once again would require a lot to change. Even if you remove the icon attribute from the widget in the main config.xml it will just use the default widget icon.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Larry,

  I already use the new PopUps in the majority of my widgets but not the way you are wanting them to be used. There is a big difference in how the viewer allows you to define PopUps with a description element and how widgets normally use the PopUps. Maybe When I get some time I will look into allowing my Widgets use of PopUps to be configurable with an xml file but I don't have any time right now to enhance widgets.
0 Kudos
JustinConner
Frequent Contributor
I'm having trouble with the linkfieldprefix in Flash Builder. I need to use
<linkfield linkprefix="http://www.septicsearch.com/pump/AttachedResults.aspx?&srch=" linksuffix="">WebData.DBO.SiteAddresses.ParcelID</linkfield>

But I get this error.

The reference to entity "srch" must end with the ';' delimiter.

I've been using this same line in the compiled version for quite some time without problems. I can even edit the xml after FB has built the project and it works there as well.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Justin,

   See if changing to this works:

<linkfield  linkprefix="http://www.septicsearch.com/pump/AttachedResults.aspx?&amp;srch="  linksuffix="">WebData.DBO.SiteAddresses.ParcelID</linkfield>
0 Kudos
JustinConner
Frequent Contributor
Justin,

   See if changing to this works:

<linkfield  linkprefix="http://www.septicsearch.com/pump/AttachedResults.aspx?&amp;srch="  linksuffix="">WebData.DBO.SiteAddresses.ParcelID</linkfield>


I must have typed something wrong yesterday because I'm certain I tried that! There needs to be one of those palm to forehead icons on the forums for moments like this. Thanks for your help!
0 Kudos
JustinFultz
Regular Contributor
Robert,

I am attempting to include a field from a joined table in the data grid.  I have tried every naming convention possible;  fully qualified as shown in the service, just table and field name, and just field name.  The new field displays in the the data grid, but never pulls values for those fields.

The join is done in the map document prior to publishing the .msd and the map service.

Any ideas?

Thanks,

Justin
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Justin,

   First things first... What version of Flex Viewer are you using and what version of the eSearch Widget are you using?
0 Kudos
JustinFultz
Regular Contributor
I am using Flex Viewer 2.4 and the enhanced search widget 2.4.0.10.

Thanks,

Justin
0 Kudos