Select to view content in your preferred language

Enhanced-Search-Widget-for-FlexViewer Part III

179125
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
pWHISLER
Emerging Contributor
Hi, when I perform a geometric search on the regular search widget it highlights the layer (the red line in the pic) I'm searching for, but on your enhanced widget I'm not seeing the layer highlighted.  It does work for the points.

[ATTACH=CONFIG]34448[/ATTACH][ATTACH=CONFIG]34448[/ATTACH]

I have been searching this thread, and things I tried were to add these two lines into my layer:

<spatialSearchlayer>true</spatialSearchlayer> 

<removeserchlayersminmaxscale>true</removeserchlayersminmaxscale>


this is what the symbology looks like in the xml now:


           
<symbology>
                <simplefillsymbol color="0x0066CC" alpha="1">
                    <outline color="0x99FF66" alpha="0.8" width="2" />
                </simplefillsymbol>     
            </symbology>


here is the rest service info:

Fields:
OBJECTID ( type: esriFieldTypeOID , alias: OBJECTID )
Shape ( type: esriFieldTypeGeometry , alias: Shape )

I'm using Version 3.5.4 and version 3.6 of Flex Viewer
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
p WHISLER,

   So it looks like your layer is a polyline, so why are you using symbology for a polygon? If your layer is a polyline then if you change your XML for that layer to use a polyline symbology than you should be fine.
0 Kudos
pWHISLER
Emerging Contributor
p WHISLER,

   So it looks like your layer is a polyline, so why are you using symbology for a polygon? If your layer is a polyline then if you change your XML for that layer to use a polyline symbology than you should be fine.


Ok, that is good info.  Sorry, I'm new to GIS.  So, to get it to work, I changed it to this:

            <symbology>
                <simplelinesymbol color="0x0066CC" alpha="1">                   
                </simplelinesymbol>  
            </symbology>
0 Kudos
DarylAnderson
Emerging Contributor
Some changes/enhancements for 3.6.7 I have introduced since I have been using the widget since 3.6.2.
Use with the uniquevalsfromfield configuration option.  Tested and works since ArcGIS 10.0 SP5.
For optimal performance use an SDE datasource.
0 Kudos
MarkHuffman
Deactivated User
I have already customized the widget with generous help from Robert (see here: http://forums.arcgis.com/threads/109735-eSearch-widget-combine-graphical-search-apply-buffer-and-int...). Now I want to do a little more. Is there a way to replace the drop down list in the graphical search tab with text? My widget only searches one layer and selects features within a buffer in one other layer. Currently, the dropdown shows both layers, based on what is in the configuration XML. True, the desired layer is on top and selected by default, but my customer does not want to see the other layer.

Thank you.

Mark
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daryl,

  I appreciate your code contribution, but your changes to the paging query task to use the returnDistinctValues assumes that a certain version of ArcGIS Server 10 is being used and I want the widget to reach a broader audience.
0 Kudos
ThanhThai
Emerging Contributor
Hi Robert,

In Flex 3.6, there seems to be a conflict among your 3.6 custom widgets (eSearch and Streetview) and the Edit widget.  Using the Edit widget after using either one of the custom widgets (such as doing a search and clicking on the results, or starting a street view) renders the Edit widget's attribute table to not open.  Removing the custom widgets or using Edit widget without using the custom widgets, the attribute table will open just fine.  (They were working fine in 3.3.)

Can you please help us look into the issue?


Thank you,

Thanh[ATTACH=CONFIG]34592[/ATTACH]
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thanh,

   I have not been able to duplicate your reported issue using the eSearch Fixed datagrid or the StreetView widget... Are you really talking about the AttributeTableWidget or the edit widgets popup window (as you have indicate in your image)?
0 Kudos
ThanhThai
Emerging Contributor
Hi Robert,

It is the edit widget's popup window; the Edit Widget's (Attribute) popup window does not open when the eSearch or Streetview is used/accessed before the Edit widget is.

Thanks,

Thanh
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Thanh,

   OK that is what I thought you meant. So as I mentioned earlier, I can not reproduce what you are reporting.
0 Kudos