Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part II

136518
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
JohnLucotch
Regular Contributor
Is there a way to open another widget from the ESearch popup using either a link or image?

Thanks
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   Yet another new release.

Version 3.1.1 - 12/19/2012
* Updated some code for API Version 3.1
* Added Token Element to layers and tables
* Fixed some bugs with layer zoom settings.
* Removed geometryservice from eSearchWidget.xml as it gets this from the main config.xml now.
* Added some error trapping to URL Searches using improper parameters
* Changed the URL Search parameter to esearch (was search) as esri is now using search for their
  purposes and it was conflicting with mine.
0 Kudos
RyanCoghlin
Deactivated User
Great widget, Robert! Thanks for all your work.

Quick question: Does the uniquevalsfromfield tag for populating a drop down list only work against Server 10.x? I can't get it to work against 9.3.1.

Thanks,
Ryan
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ryan,

   I was not aware that it was not working against 9.3.1... Is your service public so I can test to see what the issue is?
0 Kudos
RyanCoghlin
Deactivated User
The service isn't public, so we can't do that. But maybe I just haven't configured it properly:

<expression alias="NAME" textsearchlabel="Search by Street Name:">
[INDENT]<values>
[INDENT][/INDENT]<value prompt="Example: Centre St S" isvaluerequired="true" uniquevalsfromfield="NAME">upper(NAME) LIKE upper('%[value]%')</value>
</values>[/INDENT]
</expression>

The layer url tag is correct and the layer does have a field called NAME.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ryan,

  So what is it do or not doing? Do you get the gathering unique values indicator with the count message?

Also not a real big deal but if you use the uniquevalsfromfield than your sql would look like this instead:

<expression alias="NAME" textsearchlabel="Search by Street Name:">[INDENT]<values><value  prompt="Example: Centre St S" isvaluerequired="true"  uniquevalsfromfield="NAME">NAME = '[value]'</value>
</values>
[/INDENT]
</expression>
0 Kudos
RyanCoghlin
Deactivated User
So what is it do or not doing? Do you get the gathering unique values indicator with the count message?


I briefly get the unique values indicator with the count message, although the count never moves from '0 of 0'. Then I get an empty drop down.

[ATTACH=CONFIG]20104[/ATTACH]

If I remove the uniquevalsfromfield="NAME" and just do a free form search on the layer, it does work.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ryan,

  OK, I will have to find a 9.3.1 server to test against than. I'll keep you updated.
0 Kudos
RyanCoghlin
Deactivated User
Robert,

Thanks for looking in to this. I was expecting the answer to be that 'it only works with 10', so I appreciate the time you're taking to investigate.
0 Kudos
RyanCoghlin
Deactivated User
Note: I'm using the compiled version for the 3.0 Viewer.
0 Kudos