Select to view content in your preferred language

Enhanced Search Widget for FlexViewer 2.1

158497
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
KarlWilson
Frequent Contributor
Hi Robert,

Is it possible to remove the bottom half of the Spatial search window if no <spatialrelationships> are defined?

I want to retain the search distance buffer functionality, but remove the other spatial relationship searches. Currently when I comment out the <spatialrelationship> tags I still have the "Search entities of:" etc remaining, (see screenshot).

Sorry if a similar question has already been answered - I didn't have time to go through all the 293 replies in this topic!

Cheers,
Karl
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Karl,

   Version 2.2.8 addresses this issue and another. Which is available now.
0 Kudos
KarlWilson
Frequent Contributor
Thanks Robert.

The download link on the code gallery page still points to the 2.2.7f release, rather than 2.2.8.
http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

Karl
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Karl,

   Some how the upload must have failed... Anyway it uploaded again and downloaded to ensure.
0 Kudos
KarlWilson
Frequent Contributor
Thanks Robert.

I have now downloaded 2.2.8 and re-compiled my project, but the original problem persists. I'm still seeing the combo box and label after commenting out all the <spatialrelationship> tags.

Regards,
Karl
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Karl,

   Hav you cleared your browsers cache to ensure you are using the changed xml file and not a cached one? I just tested this again and it works fine.
0 Kudos
KarlWilson
Frequent Contributor
OK thanks Robert.

I cleared the cache and re-compiled the project several times and it still didn't work, ...and then suddenly it did. I'm not sure what happened, but nevermind it works now.
0 Kudos
JeffLegato
Regular Contributor
Robert, as always thank you for all your work on this.  I installed the latest eSearch 2.2.8 and noticed that the export to csv is no longer there.  We really enjoyed that feature.  Can you bring it back?

Thanks!

Jeff Legato
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jeff,

   You need to read the documentation carefully. That option is not removed, you now have the ability to disable the export on a layer by layer basis and that is controlled by the SearchWidget.xml. It sounds like you are missing the new
<enableexport>true</enableexport>
in your layer element.
0 Kudos
JeffLegato
Regular Contributor
  You need to read the documentation carefully.


My bad!:o  Sorry for that.  It's working perfectly!  Thanks so much! 😄
0 Kudos