Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part II

136595
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
GerPha
by
New Contributor
Robert,

I'm using the compiled version of eSearch Widget. Is there any easy way or possible to change the default Buffer Graphic 50 (feet, miles...) option to 150?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Ger Pha,

   Currently, No but I will add it to the list of enhancements.
0 Kudos
JohnPeabody
Emerging Contributor
Robert,

As you suggested I'm re-posting my question in the forum.

I'm having an issue with the search, either text or search, where only a single result is returned. If I run the standard viewer search widget against the same data I get multiple results (as I would expect). Can you give me any hints to what I'm doing wrong. The following is taken from the widget XML file (the balance of the file I have not changed).

<layers>
<layer>
<token/>
<definitionexpression></definitionexpression>
<enableexport>true</enableexport>
<enableprintgrid>true</enableprintgrid>
<name>Calls for Service</name>
<url>http://<servername>/ArcGIS/rest/services/layers/CAD90Day/MapServer/24</url>
<expressions>
<expression alias="Signal" textsearchlabel="Signal:">
<values>
<value prompt="Example: 04" isvaluerequired="true">Signal like '%[value]%'</value>
</values>
</expression>
</expressions>
<graphicalsearchlabel>Use one of the graphical search tools to select Calls for Service</graphicalsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<titlefield>Signal_Desc</titlefield>
<fields all="false">
<field name="Signal_Desc" alias="Signal" gridfield="true" visible="true"/>
<field name="Signal"  alias="Signal Code" gridfield="true" visible="true"/>
<field name="IncidentCreated" alias="Created" gridfield="true" dateformat="MM/DD/YYYY" visible="true"/>
<field name="District" alias="District" gridfield="true" visible="true"/>
<field name="URL" alias="URL" hyperlinkgridfield="true" hyperlinkaliastext="More Info" visible="false"/>
</fields>
<links>
<link alias="More Info" diablelinksifnull="true">
<![CDATA[{URL}]]>
<icon><![CDATA[assets/images/i_info.png]]></icon>
</link>
</links>
<zoomscale>4000</zoomscale>
<autoopendatagrid>false</autoopendatagrid>
<queryattachments>false</queryattachments>
<relates/>
<symbology>
<simplefillsymbol color="0x0000ff" alpha="0.5">
<outline color="0x00ffff" alpha="0.8" width="2" />
</simplefillsymbol>
</symbology>
</layer></layers>


Thanks again John
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
John,

   Nothing jumps out as being wrong. I would start by removing the links stuff and limit your fields to the Signal_Desc and Signal and wee what happens.
0 Kudos
JohnPeabody
Emerging Contributor
I'll give that a try

Thanks

John
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   New version available:

Version 3.1.5 - 1/22/2013
* Fixed bug when user does not have ANY layer setup for spatial search.
* Fixed more layer symbology issues.
* Added configuration options for selecting buffer units and distance from xml.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Slade,

   See if version 3.1.5 fixes your symbology issue.
0 Kudos
RhettZufelt
MVP Notable Contributor
Robert,

The fixed DG seems to honor the order of the <fields> in the fixed DG.  however, if one of them is a hyperlinkgridfield="true", it always gets appended to the end of the DG (last column).

Would it be a simple mod to have that show up as the first column instead of the last?

Thanks,

R_
0 Kudos
MichelleKinseth
Emerging Contributor
Hi Robert-
I updated the eSearch widget to 3.1.5 a few days ago and now the Add To Selection and Remove From Selection options in the widget do not work properly. If a selection is made and the user clicks to "add to current selection", the widget behaves as if it's doing a new selection. Same if I select the option to "Remove from current selection". The widget acts as if I wanted to make a new selection, instead of removing a feature from the existing selected features.

I have made edits to the mxml to reflect functionality requests of my boss and I wonder if something I did is causing the problem - I just can't see how it would be interfering with the Add To/Remove From widget functions. I'm hoping you can offer some insight. I've attached my edited mxml, and all my edits are noted by comment blocks in the far left margin to differentiate them from your comments in the code.

thanks,
Michelle
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Michelle,

   Looks like 3.1.5 has some major issue. My only recomendation at this point is to downgrade to 3.1.4. I am in the middle of some other widget updates and am not sure when I will get back to the eSearch.
0 Kudos