<?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 MiniSearch widget doesnt work execSearch() in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141305#M3253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem...execSearch()..in MiniSearch widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add a search term and press Return nothing happens. I also added a button to the widget with the "execSearch()" statement and nothing happens with this either. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jul 2010 12:40:24 GMT</pubDate>
    <dc:creator>NatashaManzuiga</dc:creator>
    <dc:date>2010-07-05T12:40:24Z</dc:date>
    <item>
      <title>MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141305#M3253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same problem...execSearch()..in MiniSearch widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add a search term and press Return nothing happens. I also added a button to the widget with the "execSearch()" statement and nothing happens with this either. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 12:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141305#M3253</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-05T12:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141306#M3254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2421&amp;amp;t=295623#953276&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have the same problem...execSearch()..in MiniSearch widget.&lt;BR /&gt;If I add a search term and press Return nothing happens. I also added a button to the widget with the "execSearch()" statement and nothing happens with this either. &lt;BR /&gt;&lt;BR /&gt;Thx&lt;BR /&gt;&lt;BR /&gt;Naty&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the Error #1010 I got...in this part of the function execSearch():&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; catch (error:Error)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trace(error.message, false);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 14:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141306#M3254</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-05T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141307#M3255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Natasha,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Did you follow these directions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Add MiniSearch.mxml &amp;amp; MiniSearch.xml to the src/com/esri/solutions/flexviewer/widgets folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Add xmlns:widgets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="com.esri.solutions.flexviewer.widgets.*" to the application tag in the index.mxml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Add &amp;lt;widgets:MiniSearch x="20" y="420" /&amp;gt; to the index.mxml just above the &amp;lt;/mx:Application&amp;gt; and below the&amp;nbsp; &amp;lt;/SiteContainer&amp;gt;&amp;nbsp; so the last three lines of the index.mxml would look like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/SiteContainer&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;widgets:MiniSearch x="20" y="420" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/mx:Application&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jul 2010 16:57:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141307#M3255</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-05T16:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141308#M3256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Natasha,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Did you follow these directions?&lt;BR /&gt;&lt;BR /&gt;1. Add MiniSearch.mxml &amp;amp; MiniSearch.xml to the src/com/esri/solutions/flexviewer/widgets folder&lt;BR /&gt;&lt;BR /&gt;2. Add xmlns:widgets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ="com.esri.solutions.flexviewer.widgets.*" to the application tag in the index.mxml.&lt;BR /&gt;&lt;BR /&gt;3. Add &amp;lt;widgets:MiniSearch x="20" y="420" /&amp;gt; to the index.mxml just above the &amp;lt;/mx:Application&amp;gt; and below the&amp;nbsp; &amp;lt;/SiteContainer&amp;gt;&amp;nbsp; so the last three lines of the index.mxml would look like this&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/SiteContainer&amp;gt;&lt;BR /&gt; &amp;lt;widgets:MiniSearch x="20" y="420" /&amp;gt;&lt;BR /&gt;&amp;lt;/mx:Application&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Robert.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had problem with query.outFields and now it works very well...could I show some info window with data, image and links after this MiniSearch...?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 08:28:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141308#M3256</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-06T08:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141309#M3257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minisearch was only designed to zoom you to a location quickly. if you want the info popup then you should use the full search widget or you would have to extend the code to add the info popup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 10:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141309#M3257</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-06T10:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141310#M3258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minisearch was only designed to zoom you to a location quickly. if you want the info popup then you should use the full search widget or you would have to extend the code to add the info popup.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks Robert I will try to do it .. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jul 2010 20:39:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141310#M3258</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-06T20:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141311#M3259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Many thanks Robert I will try to do it .. &lt;BR /&gt;&lt;BR /&gt;Naty&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, mini search works perfectly, after this I tried to use the search widget function that I got from timerComplete of MapManager.mxml so I created a new function in MiniSearch.mxml &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; private function execSearch1():void
&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; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var id:Number = SiteContainer.getInstance().getWidgetId("Search");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidget:IBaseWidget = SiteContainer.getInstance().widgetManager.getWidget(id) as IBaseWidget;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (bWidget){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidg:BaseWidget = bWidget.getInstance();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSW:SearchWidget = bWidg as SearchWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSW.querybmpid(ti.text);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //execSearch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidget2:IBaseWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bWidget2 = SiteContainer.getInstance().widgetManager.getWidget(id) as IBaseWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSW2:SearchWidget = bWidget2 as SearchWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSW2.querybmpid(ti.text);
&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;&amp;nbsp;&amp;nbsp; //execSearch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.text = error.message; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It perfectly works tooo....but after I Load another widget(for example: LiveMapsWidget.swf) it stops to work and I get Error #1010...how is it possible?...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141311#M3259</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2021-12-11T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141312#M3260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Robert, mini search works perfectly, after this I tried to use the search widget function that I got from timerComplete of MapManager.mxml so I created a new function in MiniSearch.mxml &lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; private function execSearch1():void
&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; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var id:Number = SiteContainer.getInstance().getWidgetId("Search");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidget:IBaseWidget = SiteContainer.getInstance().widgetManager.getWidget(id) as IBaseWidget;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (bWidget){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidg:BaseWidget = bWidget.getInstance();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSW:SearchWidget = bWidg as SearchWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSW.querybmpid(ti.text);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //execSearch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidget2:IBaseWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bWidget2 = SiteContainer.getInstance().widgetManager.getWidget(id) as IBaseWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSW2:SearchWidget = bWidget2 as SearchWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSW2.querybmpid(ti.text);
&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;&amp;nbsp;&amp;nbsp; //execSearch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ti.text = error.message; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt; &lt;BR /&gt;It perfectly works tooo....but after I Load another widget(for example: LiveMapsWidget.swf) it stops to work and I get Error #1010...how is it possible?...&lt;BR /&gt;&lt;BR /&gt;Naty&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nobody Can Help me? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:47:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141312#M3260</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2021-12-11T07:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141313#M3261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you explain in more detail what you are attempting to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 22:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141313#M3261</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-19T22:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141314#M3262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Can you explain in more detail what you are attempting to do?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;If u see my code, I modified your code to use SearchWidget function...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's very nice I can search things immediately with MiniSearch widget...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but after I load another widget it doesnt work anymore...it seems like it doesnt recognize the SearchWidget anymore SearchWidget or something changed with ID of the widgets...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ohhhh u came back Robert ... I feel much better &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141314#M3262</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-20T12:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141315#M3263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So if I understand correctly then you are calling execSearch1 from the minisearch and it works fine (meaning it brings up the full searchwidget if it is not open already and executes the search) and when you open any other widget and add some new text to the minisearch and click enter it doesn't work. Does it give you any error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 12:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141315#M3263</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-20T12:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141316#M3264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; So if I understand correctly then you are calling execSearch1 from the minisearch and it works fine (meaning it brings up the full searchwidget if it is not open already and executes the search) and when you open any other widget and add some new text to the minisearch and click enter it doesn't work. Does it give you any error?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;u perfectly understood!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes Robert, this is the error: Error #1009.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 13:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141316#M3264</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-20T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141317#M3265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Error 1009 is such a generic error it just means that a variable is null. The best thing for you to do now is download the Flash Player debugger version form Adobe so that you can add a break point in and see where the error is actually occurring. Google "Flash Player Debugger" and down load the appropriate version IE or netscape compatible version once you install that then you can click the little green bug in Flex or Flash builder instead of the run button.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jul 2010 13:51:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141317#M3265</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-07-20T13:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141318#M3266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Error 1009 is such a generic error it just means that a variable is null. The best thing for you to do now is download the Flash Player debugger version form Adobe so that you can add a break point in and see where the error is actually occurring. Google "Flash Player Debugger" and down load the appropriate version IE or netscape compatible version once you install that then you can click the little green bug in Flex or Flash builder instead of the run button.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, I'm trying to find the error, I saw that I get the widget and the problem is in queryBuilding...I dont know how it can be....cause I pass correct value...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems like some variables stop working when I lunch another widget .... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 09:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141318#M3266</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-21T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141319#M3267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Robert, I'm trying to find the error, I saw that I get the widget and the problem is in queryBuilding...I dont know how it can be....cause I pass correct value...&lt;BR /&gt;it seems like some variables stop working when I lunch another widget .... &lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Naty&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert I downloaded the debugger and I m running it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but it stops here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SWF] /Buildings/com/esri/solutions/flexviewer/assets/flash/red_glow.swf - 1,082 bytes after decompression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SWF] /Buildings/com/esri/solutions/flexviewer/assets/flash/loader.swf - 941 bytes after decompression&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at Function/com.esri.solutions.flexviewer:MapManager/refreshLayer/com.esri.solutions.flexviewer:timerHandler()&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.utils::Timer/_timerDispatch()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.utils::Timer/tick()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 09:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141319#M3267</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-21T09:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141320#M3268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Robert I downloaded the debugger and I m running it&lt;BR /&gt;but it stops here:&lt;BR /&gt;[SWF] /Buildings/com/esri/solutions/flexviewer/assets/flash/red_glow.swf - 1,082 bytes after decompression&lt;BR /&gt;[SWF] /Buildings/com/esri/solutions/flexviewer/assets/flash/loader.swf - 941 bytes after decompression&lt;BR /&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;BR /&gt; at Function/com.esri.solutions.flexviewer:MapManager/refreshLayer/com.esri.solutions.flexviewer:timerHandler()&lt;D&gt;&lt;BR /&gt; at flash.utils::Timer/_timerDispatch()&lt;BR /&gt; at flash.utils::Timer/tick()&lt;/D&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, I fixed it...I set the breakpoint on the function queryBuilding and after I loaded livewidget ,I see the problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var id:Number = SiteContainer.getInstance().getWidgetId("Search");
&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidget:IBaseWidget = SiteContainer.getInstance().widgetManager.getWidget(id) as IBaseWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp; var aaa:String;
&amp;nbsp;&amp;nbsp;&amp;nbsp; aaa=ti.text;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (bWidget){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var bWidg:BaseWidget = bWidget.getInstance();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var vSW:SearchWidget = bWidg as SearchWidget;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSW.queryBuilding(aaa);&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;id:found =3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bWidget:found= SearchWidget (@6a2cae1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aaa:found="5"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var bWidg:BaseWidget = bWidget.getInstance();//(bWidget.getInstance()SearchWidget (@6a2cae1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bWidg:found = LiveMapsWidget (@71b0ae1):@ so bWidget.getInstance() get the instance of LiveMapsWidget!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HOW IS IT POSSIBLE? :S&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:47:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141320#M3268</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2021-12-11T07:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141321#M3269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have seen this before and the fix is simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//Just comment out this line or delete it.
var bWidg:BaseWidget = bWidget.getInstance();
// and change this line
var vSW:SearchWidget = bWidg as SearchWidget;
 to 
var vSW:SearchWidget = bWidget as SearchWidget;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:47:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141321#M3269</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141322#M3270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I have seen this before and the fix is simple.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
//Just comment out this line or delete it.
var bWidg:BaseWidget = bWidget.getInstance();
// and change this line
var vSW:SearchWidget = bWidg as SearchWidget;
 to 
var vSW:SearchWidget = bWidget as SearchWidget;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wowwwwww&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank u so much Robert!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141322#M3270</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2021-12-11T07:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141323#M3271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Naty, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have a complete mini search as you are using it? I would like to see what you have done and maybe implement some of it on my site. It sounds like you have it set up to handle a broad amount of data. Please let me know. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 15:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141323#M3271</guid>
      <dc:creator>AlexJones</dc:creator>
      <dc:date>2010-07-23T15:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: MiniSearch widget doesnt work execSearch()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141324#M3272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Naty, &lt;BR /&gt;&lt;BR /&gt;Do you have a complete mini search as you are using it? I would like to see what you have done and maybe implement some of it on my site. It sounds like you have it set up to handle a broad amount of data. Please let me know. &lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Alex&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As soon as possible I will send u &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Naty&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 14:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/minisearch-widget-doesnt-work-execsearch/m-p/141324#M3272</guid>
      <dc:creator>NatashaManzuiga</dc:creator>
      <dc:date>2010-07-27T14:02:22Z</dc:date>
    </item>
  </channel>
</rss>

