Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part III

180193
776
04-30-2013 03:58 PM
RobertScheitlin__GISP
MVP Emeritus
All,

   Here is a new thread to post questions and discuss the Enhanched Search Widget. The old thread was getting too long.
Tags (2)
776 Replies
RobertScheitlin__GISP
MVP Emeritus
All,

   New version available:

Version 3.6.3 - 2/26/2014
* Fix major bug with uniquevalsfromfield not returning all records in some cases.
0 Kudos
JoshuaWhitener
Occasional Contributor
Using your eSearch Widget v3.6. I use Flash Builder and the uncompiled widget, though I haven't changed the widget in any way other than esearchwidget.xml

I am wondering if there is a way to turn off or disable graphical and spatial search. I'd like to only have the text search.

I've noticed the <keepgraphicalsearchenabled> tag but I'm not sure what this does as it doesn't seem to disable it.

Thanks,

-Joshua
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Joshua,

   Disabling buttons is covered in the Enhanced Search Widget XML Configuration.pdf look for "disablebuttons"
0 Kudos
JoshuaWhitener
Occasional Contributor
Oversight, thanks.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
All,

   A new version is available:

Version 3.6.4 - 3/3/2014
* Fixed issue with field formatting not staying specific to the field it was set for.
* csv and txt exports now export proper linefeed based on OS.
* Added exportnumbersasformattedstrings attribute to enableexport tag. See pdf for explanation.
* Added popuplinktype attribute to link tag. See pdf for explanation.
0 Kudos
NicholasMcNamara
Frequent Contributor
Do you plan to integrate this widget into the app builder as you did with the Identify widget?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nick,

  Yes. I have added SO MANY configurable options over the years that it is just a beast to do. I am about 8,000 lines of code into this development and have quite a few more configurable options to add yet....
0 Kudos
NicholasMcNamara
Frequent Contributor
I thought you were heading in that direction. Do you have a rough estimate of when you'll be coming out with that - 3 months, 6 months, a year?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Nick,

   Hmm... That is a tough one. I had been working on it hard for several weeks and then got burned out. I shelved it for many months and I just now started back on it this week. I am probably 2/3 done but with Dev Summit next week and such it won't stay a priority to long. The hope is 3 months or less.
0 Kudos
GregWolowich1
Occasional Contributor
Hi Robert,

Can you see any reason why this code wouldn't provide many results? No matter what I try it only ever returns one result.
This is the 3.4 version of the eSearch widget. I'm using the 2.4 version as well and it works well and returns many results. I've run the same query in ArcMAP and in the rest endpoint. Always returns multiple results. Just not in the viewer. Thanks,

Greg

<layer>
            <token>GH5npdBIBWDefgjvgIzNBq1qpanC6jjnWbKN6B_pxp7ZVg2GE6ouCdLhwL3iqi5Q</token>
            <enableexport>true</enableexport>
            <name>Road Segment</name>
            <url>http://mapcentrelab/arcgis/rest/services/Streets/MapServer/0</url>
            <expressions>
       <expression alias="Road Segment" textsearchlabel="Search by Road Asset ID:">
           <values>
      <value prompt="Example: TS-RD-00001"  isvaluerequired="false" autosubmit="true">ASSETID LIKE '%[value]%'</value>
     </values>
                </expression>
            </expressions>
            <graphicalsearchlabel>Use one of the graphical search tools to select parcels</graphicalsearchlabel>
            <spatialsearchlayer>true</spatialsearchlayer>
            <titlefield>STREETNAME</titlefield>
            <fields all="false">
                <field name="ASSETID" alias="Asset ID" gridfield="true"/>
    <field name="COMMUNITY" alias="Community" gridfield="true"/>
    <field name="CONSTTYPE" alias="Surface Type" gridfield="true"/>
            </fields>
            <linkfield/>
            <icon isfield="true"/>
            <zoomscale>8000</zoomscale>
        </layer>

0 Kudos