<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help with Enhanced Search Widget, Viewer, customization questions in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484120#M13602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My issues are thus:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for any help anyone can give me on any of these issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 15:45:47 GMT</pubDate>
    <dc:creator>MichelleKinseth</dc:creator>
    <dc:date>2012-09-19T15:45:47Z</dc:date>
    <item>
      <title>Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484120#M13602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My issues are thus:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for any help anyone can give me on any of these issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 15:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484120#M13602</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-19T15:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484121#M13603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; To being with I will have to say I really don't want to provide help for doing this in an old version such as 2.4 if there is no real need for you to be that far behind the power curve (3.1 is coming in a couple of months). If you can start with Flex Viewer 3.0 than you will not be wasting a bunch of time (not sure if this is what you meant when you said you downloaded the recent upgrades).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;So do not want popups at all? This could be quite involved.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Removing the search results from the widget altogether would be virtually a complete re-write of the widget... You can stop the widget from switching to the results view once the search is completed. You would search for the showStateResults in each of the search functions like queryFeaturesText and queryFeaturesGraphical.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;a &amp;amp; b: Using the url search will allow of this. There is pretty good documentation on this Enhanced Search Widget URL Search Configuration.pdf&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Sidebars... Hmm... No there is nothing OTB for this (sort of). It would be possible to set the right attribute of the map to 300 or something and have the eSearch and layer list widget fixed in that space using left, right, top, bottom attributes.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484121#M13603</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-19T16:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484122#M13604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;So do not want popups at all? This could be quite involved.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Removing the search results from the widget altogether would be virtually a complete re-write of the widget... You can stop the widget from switching to the results view once the search is completed. You would search for the showStateResults in each of the search functions like queryFeaturesText and queryFeaturesGraphical.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;a &amp;amp; b: Using the url search will allow of this. There is pretty good documentation on this Enhanced Search Widget URL Search Configuration.pdf&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Sidebars... Hmm... No there is nothing OTB for this (sort of). It would be possible to set the right attribute of the map to 300 or something and have the eSearch and layer list widget fixed in that space using left, right, top, bottom attributes.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. I definitely understand your caution regarding the version I am working with. I am attempting an update to Flex 3.0 today (looks like I actually have 2.5 now), so fingers crossed that goes smoothly...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. You are correct, I, or rather the viewer owner, don't want popups at all. I'm not sure what you mean by quite involved - like extensive editing of the compiled code? If so, I'll happily tell him it might not be cost effective for me to spend the time figuring it out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Stopping the widget from switching to results would accomplish the goal, basically the viewer owner doesn't want the results to show so however that happens is okay. I will search for those lines of code you mentioned and give that a try. Thank you!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I will look that documentation over again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4. ah, yes. I can "fake" it with those attributes. Thank you for reminding me of that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response. In your opinion I should upgrade both the Viewer and widget before pursuing these edits, I assume.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 16:47:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484122#M13604</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-19T16:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484123#M13605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Yes first order of business it to get to version 3.x for both the viewer and the eSearch Widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe "quite involved" was to strong. It would require you to comment out a line of code in two mxmls (hopefully that is all of them).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the eSearchWidget.mxml you would need to find the mouseOverSearchResult function and comment out this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;hitimer = setTimeout(showHighlight, 300, [ searchResult ]);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the SearchWidgetFixedDG.mxml you would need to find the onItemRollOver function and comment out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;showInfoWindow2(searchResult);&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer3.0/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer3.0/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484123#M13605</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-19T17:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484124#M13606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Yes first order of business it to get to version 3.x for both the viewer and the eSearch Widget.&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm wondering if maybe you (or anyone) has any idea as to why, when I bring the new Flex 3.0 code into Flash Builder I get over 80 errors all related to the src/com/esri/viewer path? I have no idea what the problem is; all I did was unzip and open a new project with the new code (I also added the appropriate .swc file). I've done no edits, copy/pasting of xmls, or mxml editing. Any ideas? The older version I was using worked fine, though the organization of the com/esri/viewer was structured differently. I've been using Flash Builder (yes, I have SDK 4.6) for four days and I still don't understand much of it's functionality so it's entirely possible this is user error as this is my first time setting up a new project. I'm just not sure where to look for more solutions. I'm abandoning this task for the day, and will resume tomorrow. When hopefully I can also attempt to address the other solutions you provided me above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michelle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 21:48:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484124#M13606</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-19T21:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484125#M13607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; In Flash Builder there is a project menu and a Clean... command run that and see if it resolves the errors.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 01:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484125#M13607</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T01:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484126#M13608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; In Flash Builder there is a project menu and a Clean... command run that and see if it resolves the errors.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the tip, Robert. I ran Clean... but it didn't fix my errors. I shall have to do a bit more investigating.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 14:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484126#M13608</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-20T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484127#M13609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you post a screen shot of the errors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 14:46:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484127#M13609</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484128#M13610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Can you post a screen shot of the errors?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17852[/ATTACH] [ATTACH=CONFIG]17853[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and there are more that wouldn't fit on the screen - all 1046&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 14:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484128#M13610</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-20T14:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484129#M13611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So you are sure that you added the agslib-3.0-2012-06-06.swc to the libs folder?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 15:56:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484129#M13611</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T15:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484130#M13612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So you are sure that you added the agslib-3.0-2012-06-06.swc to the libs folder?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;haha, oops. No I don't have that one and I actually wondered about that. That particular swc wasn't in the Viewer for Flex download. Which is not convenient. The swc that came up when I followed the provided link to the ESRI site was the drslib-3.0-2012-9-6.swc. heh, now I feel silly...I'll find that now and add it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484130#M13612</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-20T16:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484131#M13613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So you are sure that you added the agslib-3.0-2012-06-06.swc to the libs folder?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert - thank you for your help thus far. I wondered if you had any idea as to why, even though I have the agslib swc added now, why I still have this one, single error in my index.mxml? I can't figure it out... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As it is, when I launch the app the web page opens white with "Error 2032" in text at the bottom; but if I comment out the line, the map opens with my data drawn but with the error as seen in the second image I posted. Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17860[/ATTACH] [ATTACH=CONFIG]17861[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 21:09:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484131#M13613</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-20T21:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484132#M13614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What and why are you adding to the index.mxml?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 21:28:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484132#M13614</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T21:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484133#M13615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; What and why are you adding to the index.mxml?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The index.mxml was heavily edited/altered in the previous Flex version by my predecessor; I copied the code and pasted it into the 3.0 index.mxml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 21:37:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484133#M13615</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-20T21:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484134#M13616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You should post that code as many package names have changed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 22:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484134#M13616</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-20T22:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484135#M13617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; You should post that code as many package names have changed.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help Robert; this code all worked as expected in version 2.5 and now (in 3.0) the commented out line for ags.symbols shows as an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;!--
///////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010-2011 Esri. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//&amp;nbsp;&amp;nbsp;&amp;nbsp; http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
///////////////////////////////////////////////////////////////////////////
--&amp;gt;
&amp;lt;s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx="library://ns.adobe.com/flex/mx"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:viewer="com.esri.viewer.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:managers="com.esri.viewer.managers.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:esri="http://www.esri.com/2008/ags"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialize="onAppPreinitialize(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageTitle="Hydrographic &amp;amp;amp; Impairment Statistics Viewer"&amp;gt;
 
 &amp;lt;!-- ArcGIS API 3.0 --&amp;gt;
 &amp;lt;!-- Adobe SDK 4.6 --&amp;gt;
 
 &amp;lt;fx:Style source="defaults.css"/&amp;gt;
 
 &amp;lt;fx:Metadata&amp;gt;
&amp;nbsp; [ResourceBundle("ViewerStrings")]
 &amp;lt;/fx:Metadata&amp;gt;
 
 &amp;lt;fx:Script&amp;gt; 
&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; //import Globals.*;
&amp;nbsp;&amp;nbsp; import com.esri.ags.FeatureSet;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Graphic;
&amp;nbsp;&amp;nbsp; import com.esri.ags.Map;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.Extent;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.QueryTask;
&amp;nbsp;&amp;nbsp; import com.esri.ags.tasks.supportClasses.Query;
&amp;nbsp;&amp;nbsp; import com.esri.ags.utils.GraphicUtil;
&amp;nbsp;&amp;nbsp; 
//&amp;nbsp;&amp;nbsp;&amp;nbsp; import com.esri.ags.symbols
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import mx.controls.Alert;
&amp;nbsp;&amp;nbsp; import mx.core.FlexGlobals;
&amp;nbsp;&amp;nbsp; import mx.events.BrowserChangeEvent;
&amp;nbsp;&amp;nbsp; import mx.events.FlexEvent;
&amp;nbsp;&amp;nbsp; import mx.managers.BrowserManager;
&amp;nbsp;&amp;nbsp; import mx.managers.IBrowserManager;
&amp;nbsp;&amp;nbsp; import mx.rpc.AsyncResponder;
&amp;nbsp;&amp;nbsp; import mx.utils.URLUtil;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private var params:Object = null;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private var queryTask:QueryTask = new QueryTask(null);
&amp;nbsp;&amp;nbsp; private var query:Query = new Query();
&amp;nbsp;&amp;nbsp; private var featureExtent:Extent = null;
&amp;nbsp;&amp;nbsp; private var bm:IBrowserManager; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; public var featureSet:FeatureSet
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var NPS_List_ID:String = null;
&amp;nbsp;&amp;nbsp; private var Park:String = null;
&amp;nbsp;&amp;nbsp; //private var NPS_List_ID:String = "GOGA_CAR2011303020070615132740_OLEMA CREEK";
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var Unit_Code:String;
&amp;nbsp;&amp;nbsp; private var queryURLS:Array = new Array("http:...rest/services/NRSS/HIS_Dissolved/MapServer/0",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "http://...rest/services/NRSS/HIS_Dissolved/MapServer/1",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "http://...rest/services/NRSS/HIS_Dissolved/MapServer/2",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "http://...rest/services/NRSS/HIS_Dissolved/MapServer/3");
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; /**
&amp;nbsp;&amp;nbsp;&amp;nbsp; * Listen application preinitialize handler
&amp;nbsp;&amp;nbsp;&amp;nbsp; */
&amp;nbsp;&amp;nbsp; protected function onAppPreinitialize(event:FlexEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; params = getURLParameters();
&amp;nbsp;&amp;nbsp;&amp;nbsp; configureQuery();
&amp;nbsp;&amp;nbsp;&amp;nbsp; /* for (var i:int = 0; i&amp;lt;queryURLS.length; ++i) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; configureQuery(url);
&amp;nbsp;&amp;nbsp;&amp;nbsp; } */
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function getURLParameters():Object
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var result:URLVariables = new URLVariables();
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; try
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ExternalInterface.available)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Use JavaScript to get the search string from the current browser location.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Use substring() to remove leading '?'.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // See http://livedocs.adobe.com/flex/3/langref/flash/external/ExternalInterface.html
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var search:String = ExternalInterface.call("location.search.substring", 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (search &amp;amp;&amp;amp; search.length &amp;gt; 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result.decode(search);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (error:Error)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(error.toString());
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function configureQuery():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (params["NPS_List_ID"]) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configure the query task
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask = new QueryTask(null); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.useAMF = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NPS_List_ID = params["NPS_List_ID"];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: Need to iterate all layers or add query param based on initial table
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //queryTask.url = queryURLS;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.url = "http://...rest/services/NRSS/HIS_Dissolved/MapServer/0";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //new Array("http://...rest/services/NRSS/HIS_Dissolved/MapServer/0",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //"http://...rest/services/NRSS/HIS_Dissolved/MapServer/1",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //"http://...rest/services/NRSS/HIS_Dissolved/MapServer/2",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //"http://...rest/services/NRSS/HIS_Dissolved/MapServer/3");&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // "http://...rest/services/NRSS/HIS_Dissolved/MapServer/0";&amp;nbsp; // TODO: SHould be an array
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //dynamically insert the 1, 2, 3, 4 from an array into the url above?
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.where = "NPS_LIST_ID = '" + NPS_List_ID + "'";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public function SimpleLineSymbol(style:"solid", color: 0xff0000, alpha:1, width:5);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (params["Park"]) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Configure the query task
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask = new QueryTask(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.useAMF = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Park = params["Park"];
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO: Need to iterate all layers or add query param based on initial table
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //queryTask.url = queryURL
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.url = "http://...rest/services/NPSData/NPS_Boundaries_WebMercator_labelfree/MapServer/0"; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.where = "UNIT_CODE = '" + Park + "'";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public function SimpleLineSymbol(style:"solid", color: 0xff0000, alpha:1, width:5);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else 
&amp;nbsp;&amp;nbsp;&amp;nbsp; {trace("ERROR: NPS_List_ID or Park not detected."); }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function queryPark():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask = new QueryTask(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.useAMF = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.url = "http://...rest/services/NPSData/NPS_Boundaries_WebMercator_labelfree/MapServer/0";
&amp;nbsp;&amp;nbsp;&amp;nbsp; query.where = "UNIT_CODE = '"+ Globals.Unit_Code +"'";
&amp;nbsp;&amp;nbsp;&amp;nbsp; query.returnGeometry = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; function onResult(featureSet:FeatureSet, token:Object = null):void
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace("Number of features: " + featureSet.features.length); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set map extent to extent of Park features
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphicsExtent:Extent = GraphicUtil.getGraphicsExtent(featureSet.features); // GraphicUtil.getGraphicsExtent(queryURLS:Array);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (graphicsExtent)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(mapManager.map.extent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(graphicsExtent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Zoom out by 25%
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapManager.map.extent = graphicsExtent.expand(1.5);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(mapManager.map.extent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; function onFault(info:Object, token:Object = null):void
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace("query issue");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(info.toString(), "ERROR: Problem querying park extent from service.");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function onMapCreationComplete(event:FlexEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (params["NPS_List_ID"] != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Execute serivce query for impairment
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // queryTask.execute(query, new AsyncResponder(onResult, onFault));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.execute(query, new AsyncResponder(onResult, onFault));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Extract unit code from NPS_List_ID
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit_Code = NPS_List_ID.substring(0,4);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Globals.Unit_Code = Unit_Code;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Globals.NPS_List_ID = params["NPS_List_ID"];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (params["Park"] != null) 
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; queryTask.execute(query, new AsyncResponder(onResult, onFault));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Extract unit code from NPS_List_ID
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Unit_Code = NPS_List_ID.substring(0,4);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Globals.Unit_Code = Unit_Code;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; function onResult(featureSet:FeatureSet, token:Object = null):void
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace("Number of features: " + featureSet.features.length); 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set map extent to extent of NPS_List_ID features
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphicsExtent:Extent = GraphicUtil.getGraphicsExtent(featureSet.features); // GraphicUtil.getGraphicsExtent(queryURLS:Array);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (graphicsExtent)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //trace(mapManager.map.extent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //trace(graphicsExtent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Zoom out by 25%
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapManager.map.extent = graphicsExtent.expand(1.5);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //trace(mapManager.map.extent);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; function onFault(info:Object, token:Object = null):void
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //trace("query issue");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alert.show(info.toString(), "ERROR: Problem querying impairment from service.");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; ]]&amp;gt; 
 &amp;lt;/fx:Script&amp;gt;
 
 &amp;lt;viewer:ViewerContainer id="viewerContainer"&amp;gt;
&amp;nbsp; &amp;lt;viewer:configManager&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;managers:ConfigManager id="configManager"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:configManager&amp;gt;
&amp;nbsp; &amp;lt;viewer:dataManager&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;managers:DataManager id="dataManager"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:dataManager&amp;gt;
&amp;nbsp; &amp;lt;viewer:mapManager&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;managers:MapManager id="mapManager"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:mapManager&amp;gt;
&amp;nbsp; &amp;lt;viewer:uiManager&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;managers:UIManager id="uiManager"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:uiManager&amp;gt;
&amp;nbsp; &amp;lt;viewer:widgetManager&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;managers:WidgetManager id="widgetManager"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:widgetManager&amp;gt;
 &amp;lt;/viewer:ViewerContainer&amp;gt;
 
&amp;lt;/s:Application&amp;gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484135#M13617</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2021-12-11T21:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484136#M13618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I don't see anywhere in the code that you even need that import at all as there is no code using symbols. Try deleting that line all together.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 15:10:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484136#M13618</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-25T15:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484137#M13619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I don't see anywhere in the code that you even need that import at all as there is no code using symbols. Try deleting that line all together.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Robert, thank you for all your help. I just removed the aforementioned line of code and it doesn't seem to be affecting anything. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After upgrading to the new version (3.0.9) of the widget I was able to disable the popups as well as stop the results of a search from appearing in the widget gui. However, I am now getting no search or relate results to show in the fixed data table after performing a search from the widget. I don't even have a "Results" tab showing in the table. I wonder if when I commented out all the "showStateResults" in each of the search functions that I accidentally commented out one that I wasn't supposed too...would that prevent results from populating the data table or are the two (the widget gui and the data table) mutually exclusive in the code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All my map services are related to their respective tables, and the search/relates results works in the previous version (Flex v2.5, eSearch v2.5) which is using the same services. (would updating the code from 2.5 to 3.0.9 be causing an issue? I skipped a lot of intermediate versions). Sorry if these are silly questions; I'm still struggling to wrap my mind around how Flex works...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can start a new thread if needed. Thanks so much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michelle&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 15:51:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484137#M13619</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-26T15:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484138#M13620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Michelle,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So when you say &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I just removed the&amp;nbsp; aforementioned line of code and it doesn't seem to be affecting&amp;nbsp; anything. &lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Do you mean that you still get the first error image you provided or is it only the second error image now?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 18:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484138#M13620</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-09-26T18:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Enhanced Search Widget, Viewer, customization questions</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484139#M13621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Michelle,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So when you say&amp;nbsp; Do you mean that you still get the first error image you provided or is it only the second error image now?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I was unclear. That error was resolved when I removed that line, and there are no other problems or errors in the index.mxml now. I had several other issues that I resolved and now everything is working fine, except I am not getting any search results or related information in the widget's fixed table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I get, after selecting a feature with the Enhanced Search Widget...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]18021[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 18:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-with-enhanced-search-widget-viewer/m-p/484139#M13621</guid>
      <dc:creator>MichelleKinseth</dc:creator>
      <dc:date>2012-09-26T18:50:29Z</dc:date>
    </item>
  </channel>
</rss>

