Select to view content in your preferred language

Enhanced Search Widget for FlexViewer 2.1

158353
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
TonyBlades
Emerging Contributor
Robert,

I have.  My table is "CostCenter".  A field in that table is "Yard".  So in the expression I typed "CostCenter.Yard" for the #text of textsearchlabel.  Seems pretty straightforward.  Do I need something else?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Tony,

   The best way is to use the exact field name from the REST Service directory for that layer.

Most join field names have 3 parts user.table.field. So go to REST Services directory and check.
0 Kudos
TonyBlades
Emerging Contributor
Thanks Robert.  I'll look into it.
0 Kudos
TonyBlades
Emerging Contributor
Robert,

I got a simple 1-1 join working.  Thanks for you help on that. 

Now I want to do a 1-M relate but don't see how to call the fields from the related table since they don't show up in the layer's attribute table.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Tony,

   That is currently not possible.
0 Kudos
TonyBlades
Emerging Contributor
Thanks Robert.

tb
CA DOT, San Diego
0 Kudos
TimHoward
Emerging Contributor
Robert (or whoever),

I have this wonderful widget working great in 2.2 except for one thing..the "Use Existing Draw Widget Graphics". I keep getting the same error no matter what changes I make. I had this function working in 2.1 and have checked for differences in my configuration but found none. The error is:

ReferenceError: Error #1069: Property url not found on String and there is no default value.
at widgets.eSearch::SearchWidget/queryFeaturesGraphical()
at widgets.eSearch::SearchWidget/getDrawGra()
at widgets.eSearch::SearchWidget/___SearchWidget_Image1_click()

Any thoughts would be most appreciated. Can't thank you enough for your awsome widgets by the way. Keep up the good work.

Tim
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Tim,

   Hang tight I think I see the issue.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Tim,

   Bug is fixed in latest version 2.2.4
0 Kudos
TimHoward
Emerging Contributor
Robert,

     You da man..as usual!!  Thanks so much.
0 Kudos