Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part III

179286
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
JoshWhite
Honored Contributor
Thanks, what I did was miss that whole section.  I had it set to be fields all="true" so I just skimmed that section and completely missed the gridfield requirement.  Using the relate part was just my attempt to figure it out, to see if I missed something.  I appreciate your help.  On another note, for some odd reason when I get my parcel layer from the county, the mailing address is included in the file and has carriage returns in it.  In ArcMap, it just puts it all on one line and ignores these, but when using this widget, they are not ignored, is there anything I can do to get at the next lines? 
An example is where I have one that has an ATTN line and then the address.  So for the mailing address line, it just says ATTN: So and So and no actual address.  I can manually fix these and obviously this isn't your problem its a data problem but I wondered what your thoughts were.
Josh White, AICP
Principal Planner

City of Arkansas City
0 Kudos
JoshWhite
Honored Contributor
I've discovered that for the most part I only use the graphical search when I use this widget.  I tried using the <initialview> tag but it didn't have an effect, is this tag enabled in your widget or something similar?
Josh White, AICP
Principal Planner

City of Arkansas City
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Josh,

   I don't have any real suggestions on your data with carriage returns in it...

As far as the initalview thing the Enhanced Search Widget XML Configuration.pdf tell you the tag for that.

<defaultselectionoption>textInput</defaultselectionoption><!--possible values only one
graphicalInput or textInput or spatialInput -->

The defaultselectionoption element is a string that specifies which search option (i.e
graphicalInput or textInput
or spatialInput) will be the default search option for the widget.
0 Kudos
JoshWhite
Honored Contributor
Josh,

   I don't have any real suggestions on your data with carriage returns in it...

As far as the initalview thing the Enhanced Search Widget XML Configuration.pdf tell you the tag for that.


Thanks, I actually just discovered that in the configuration, sorry about that.  I attempted to delete that post before you responded but didn't make it.
Josh White, AICP
Principal Planner

City of Arkansas City
0 Kudos
DanielBerry
Deactivated User
Robert,

Does this widget support the ability to search layers with multipoint geometry?

Respectfully,
Dan
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Dan,

   Are you having an issue with multipoints or are you just asking before trying?
0 Kudos
DanielBerry
Deactivated User
Robert,

I did test it out today. Unfortunately it was not displaying the graphics for any multipoint geometry and it also was only showing results from the multipoint geometry that only had a single point. I did have success with point geometry types. Is there a specific entry I need to add in the <layer> tag? I read through the "Enhanced Search Widget XML Configuration.pdf", but I didn't see anything that dealt with Multipoint geometry.


Respectfully,
Dan

Tested using Flex Viewer (ArcGIS API for Flex 3.3)
0 Kudos
ThanhThai
Emerging Contributor
Hi Robert,

Thanks so much for such a great widget.  I'm new to GIS and FlexViewer.  I downloaded your eSearch 3.4, installed it via App Builder, and made changes to the searches in the xml file.  When I did a search, I got results to show up in the table, but they're not showing on the map.  The popup feature screen showed up as I move clicked through the results, but the point didn't.  What am I doing wrong?

Also, how can I add the Draw Circle, Move Polygon or Edit Polygon features back into your eSearch?

Many thanks,

Thanh
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thanh,

   I am not sure why your points are not showing... Can you look over near Africa at 0,0 coordinates and see if they are there? Is there layer an XY event Layer in ArcMap?

You can not add back something that was never there... The eSearch has never had the ability to draw a circle for selection or the ability to move or edit a polygon.
0 Kudos
RhettZufelt
MVP Notable Contributor
Hi Robert,

Have you been having issues with event themes and this widget?

I seem to be able to utilize them just fine, even the uniquevaluesfromfield works for me through database connections to Oracle table.

It is the only "FC" in the map document/service.

R_
0 Kudos