Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part II

113176
552
04-19-2012 08:03 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   I am pleased to announce the next release of my eSearch Widget.

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

Version 2.5.1.7 - 4/19/2012
* Added ability to search (flat/standalone/no geometry) tables.
* This time all Zooming uses the same scaling (popup, datagrid, widget results, zoom to all).
* Added Relates icon/button to datagrids so that you can click on it in the datagrid to
  open relates choice dialog.
* Move all skins to a skins package for cleaner organization.
* Links that are not associated with a field now work.
* Ability to disable the relates tab in the fixed widget is now configurable.
552 Replies
RobertScheitlin__GISP
MVP Emeritus
Jay,

   If you are going to have multiple value tags for one particular expression parent than you need to think of them as you would any SQL statement in ArcMap. For example you first value needs an operator like AND, also each subsequent value needs an operator except for the last value in your values parent.

        <expression alias="Database" textsearchlabel="Search Projects:" isvaluerequired="true">
            <values>
                <value prompt="Project Name" isvaluerequired="false" operator="AND" autosubmit="false">upper(Project_Name) LIKE upper('%[value]%')</value>
                <value prompt="Project Number" isvaluerequired="false" operator="AND" autosubmit="false">Contract_Number LIKE '%[value]%'</value>
                <value prompt="Detailed Job Type" isvaluerequired="false" userlist="Administration,Geosciences,Geostructural,all" autosubmit="false">Department = '[value]'</value>
            </values>
        </expression>
0 Kudos
JayHalligan
Occasional Contributor
Jay,

   If you are going to have multiple value tags for one particular expression parent than you need to think of them as you would any SQL statement in ArcMap. For example you first value needs an operator like AND, also each subsequent value needs an operator except for the last value in your values parent.

        <expression alias="Database" textsearchlabel="Search Projects:" isvaluerequired="true">
            <values>
                <value prompt="Project Name" isvaluerequired="false" operator="AND" autosubmit="false">upper(Project_Name) LIKE upper('%[value]%')</value>
                <value prompt="Project Number" isvaluerequired="false" operator="AND" autosubmit="false">Contract_Number LIKE '%[value]%'</value>
                <value prompt="Detailed Job Type" isvaluerequired="false" userlist="Administration,Geosciences,Geostructural,all" autosubmit="false">Department = '[value]'</value>
            </values>
        </expression>


Thanks Robert, but it still seems to autosubmit if I choose from the dropdown list.  Is there any way to only submit when the search button is clicked?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Jay,

   are you sure you are using a version that supports the autosubmit attribute? It was introduced in Version 3.1.8 - 2/5/2013.
0 Kudos
JayHalligan
Occasional Contributor
Jay,

   are you sure you are using a version that supports the autosubmit attribute? It was introduced in Version 3.1.8 - 2/5/2013.


Well what do you know!  I never copied the updated version into the project folder.  It was driving me nuts! Thanks
0 Kudos
SuelyCarrião
Emerging Contributor
Suely,

   Searching a related table is supported but it is not currently supported to select the related features in the map for the table that is searched. This enhancement is being looked at though.



Robert! Thanks for your answer , it took me a while to find it back as there are so many posts!
First thanks for the great job with eSearch widget! It does a lot, and helps a lot. It was not the aswer I was looking for but it is an answer ...
Our team will be looking forward to see a new version with this improovement come true!!

Thanks for now

Suely
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Suely,

   Actually since I responded to your post I have released a newer version that supports selecting related features on the map from a table.
0 Kudos
MikeSmith7
Emerging Contributor
Great Tool, thanks for sharing it.  I am trying to select a point in  my layer.  The url parameter passes fine and the result window pops up and points to the identified result.  Is there a way to change the symbology or highlight the selected feature without the need of showing the results window.  Sorry if this is already in one of the posts.  I have searched for this but have not found it.

Thanks,
Mike
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Mike,

   There no real configuration setting for that unless you never what to see the results in the widget then you can disable the result button/view. What you are wanting is not the intent or design of this widget.
0 Kudos
MichaelVolz
Esteemed Contributor
Robert:

The ability to configure the eSearch widget, as Mike above posted, was a user desired requirement for an application that my organization is building.  The fact that you can disable the display of the results window is very useful as the results can also be provided from an Identify pop-up window that does not take up as much real estate on the screeen as the results window.  As such, thank you for the ability to disable the results window from the config file.  Just an excellent widget.
0 Kudos
SuelyCarrião
Emerging Contributor
Suely,

   Actually since I responded to your post I have released a newer version that supports selecting related features on the map from a table.



That is the answer I was looking for!!!! 😉 rsrs. I saw the new version yesterday and downloaded but could not try the new version yet.

Next week we will receive a consultant on flex programming from "Imagem" (ESRI representative partner in Brazil) to team up with one of our own to convert an application we have build with Flex 3.0, to 3.2 using exclusively Arcgis viewer for flex and widgets available at web. (Having applications version /code dependent are driving us crazy! )

One of the main tools of this application is an "Attribute Search"  (over feature's attribute tables and related tables ) highlighting the features (point/polygons) at the map. I would appreciate a lot if you could help us in case of any struggle with this new version, or need to modified some piece of the code. In this case, we would be more than happy to  upload the results to be shared with all Flex Viewer community.

Once more thanks a lot!

Suely
0 Kudos