need help on widget configuration for the ESRI Flex 2.2 Viewer in my Geoportal 1.2.2

2194
1
09-20-2013 03:31 PM
DouglasOlcott
Deactivated User
I have two problems with this Flex Viewer (v.2.2) that ESRI provides for the Geoportal 1.2.2 version. 1) I can find no documentation for how to configure the widgets, specifically, I want the FindData) widget to be closed or minimized when the Map Viewer is launched, so that users are not tempted to do their search again after they have clicked on the Add to Map link for a result returned in the Search tab, and I also want the Layer List widget to be opened by default, so that the user can immediately see that his/her resource has been added to the layer list for possible overlaying on the basemap. 2) When a user does do a search for a resource in the FindData widget after the Map Viewer has been launched, an error is returned, with the following expanded message:

Fault Message: faultCode:Server.Error.Request faultString:'HTTP request error' faultDetail:'Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://www.sccgovatwork/geoportal/viewer/geoportal/widgets/FindData/../../proxy.jsp?http%3A//www.scc...'

Fault Rootcause: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]

Fault Info: HTTP request error 

Any help with either of these problems would be appreciated.
0 Kudos
1 Reply
DouglasOlcott
Deactivated User
I was able to solve both of these problems myself. I found the config.xml file under ...\webapps\geoportal\viewer\geoportal\widgets that controls what widgets are displayed by ESRI's Flex Viewer, and then under the FindData directory under \widgets the FindDataWidget.xml file for additional configuration of that widget. There's an attribute of the widget labeled "Geospatial Search" in the config.xml file called preload which was set to "open" but can be set to "minimized". When I made some changes in these files the 2032 Error went away.
0 Kudos