Hello, Last week I inherited a Flex Viewer that was built by someone else several (~6?) months ago, then put aside. When I was given the viewer I was also given a short list of customization's desired by the viewer owner, and so I'm trying to accommodate his requests. The viewer is built on Flex 2.5, and the Enhanced Search v2.x is the main functionality of the viewer. I have downloaded the recent upgrades for both but haven't been able to make the upgrade yet, mainly because the person who worked on this before me did some editing in some of the mxml files and so trying to track changes made in some of those files has been quite burdensome; honestly I'm not sure what in the new code are updates versus what were changes made by my predecessor; but that's something I'll have to figure out. The eSearch widget should be a bit simpler to upgrade, I hope.
My issues are thus: 1. The owner of the viewer does not want a popup to show when a search is completed in the eSearch widget. I've read some threads here that have mentioned commenting out things such as Highlight and/or MouseOver Events and I've tried several combinations of those various possibilities but nothing has worked. Any hints here would be very helpful and very much appreciated. (there are no popups enabled in the main config). Disabling the popup is a primary desire of the viewer owner so if nothing else, I'd really like to accomplish this for him.
2. The owner of the viewer does not want the search results to show in the widget "window", either. As the widget functions now, when a search is completed the results appear in the fixed table at the bottom of the map, in the search widget window, and in the popup (when activated). This is a redundancy of information for our particular use and the owner wants only for the results to appear in the fixed table. Is this possible? I feel comfortable making some changes to the compiled code if I am given some guidance because as it is I have no idea where to start. If this is not possible, that is fine too - I will happily tell the viewer owner that I can't do this for him.
3a. Is there any way to have the map open with a set of features selected (meaning symbolized as "highlighted" when the map initializes) as if the features had been selected from the search widget? The viewer displays water data, so features that aren't relevant to a user are shown along with the ones they are interested in and not until they perform a search with the widget can they tell which ones are applicable to their issue. Does that make sense? I have a feeling this one might not be possible, but I wanted to ask those who know more than I.
3b. Conversely, is there a way to disable selecting features that do not contain the url parameter (or part of it) that zoomed the map (the parameter is a unique ID to identify specific features as well as to define extent)?
4. I was asked to embed the Layer List and eSearch Widget into a sidebar of the viewer so they aren't "floating" above the map. I know there must be existing code for this functionality but I can't seem to find it in the help section.
Please keep in mind that until last week I had never opened Flash Builder or seen the compiled code of a Flex viewer before (or any compiled code at all) though I've done a lot of xml editing. I am not a developer at all, but if given a path to follow I can usually suss out code through forums and help doc's. Sadly, ESRI has not helped me much with these particular tasks so now I'm asking for help! Three days of staring at this while randomly changing things without a real clue as to where to start is long enough, I think.
Thank you in advance for any help anyone can give me on any of these issues.