<?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 Re: Flex Mobile / FindTask &amp;amp; SplitViewNavigator in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703096#M15699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I appreciate that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Day..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Aug 2013 15:24:41 GMT</pubDate>
    <dc:creator>KomanDiabate</dc:creator>
    <dc:date>2013-08-06T15:24:41Z</dc:date>
    <item>
      <title>Flex Mobile / FindTask &amp;amp;amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703087#M15690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I trying to build flex moblile app where I am using&amp;nbsp; splitNavigator to display a query and map result on two separte views. I am using the findTask to query the data however, I am having some problems displaying the query results on the map view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the findTask executeComplete event I am running the executeCompleteHandler event using the pushView method to push the graphics to the map, but nothing is being display:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private function executeCompleteHandler(event:FindEvent):void { &amp;nbsp;&amp;nbsp; var resultCount:int = event.findResults.length;&amp;nbsp;&amp;nbsp; if (resultCount == 0) &amp;nbsp; { &amp;nbsp;&amp;nbsp; //do something &amp;nbsp; } &amp;nbsp; else &amp;nbsp; { &amp;nbsp;&amp;nbsp; // add feature as graphic to graphics layer &amp;nbsp;&amp;nbsp; for (var i:int = 0; i &amp;lt; resultCount; i++) &amp;nbsp;&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; findTaskResults.addItem(event.findResults&lt;I&gt;.feature)&amp;nbsp; &amp;nbsp;&amp;nbsp; } &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; var snv:SplitViewNavigator=navigator.parentNavigator as SplitViewNavigator; &amp;nbsp; var mapView:ViewNavigator=snv.getViewNavigatorAt(1) as ViewNavigator;&amp;nbsp; &amp;nbsp; mapView.pushView(map, findTaskResults); }&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; } &lt;/I&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the map view, I trying to load the data in the following manner, but I getting an error on the graphic layer dataprovider &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{data.feature}. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:GraphicsLayer graphicProvider="{data.feature}" &amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;esri:symbol&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleFillSymbol alpha="0.5" color="red"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:outline&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:SimpleLineSymbol alpha="1.0" color="yellow"/&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:outline&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:SimpleFillSymbol&amp;gt; &amp;nbsp;&amp;nbsp; &amp;lt;/esri:symbol&amp;gt; &amp;nbsp; &amp;lt;/esri:GraphicsLayer&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koman Diabate&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 17:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703087#M15690</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-05T17:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703088#M15691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; It appears that your findTaskReuslts is an ArrayCollection, so if that is the case than it has no ideas what data.feature is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:GraphicsLayer graphicProvider="{data}" &amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as what you are pushing to the view is just an ArrayCollection.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 18:27:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703088#M15691</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-08-05T18:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703089#M15692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have actually tried &amp;lt;esri:GraphicsLayer graphicProvider="{data}" &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I didn't see any graphics displayed on the map. I am debugging the resultCount value from the executeCompleteHandler(event)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it's returning a 0 value, my findTask maybe not be running the query properly. I will debug this some more to pinpoint the source of the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Koman D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 20:34:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703089#M15692</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-05T20:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703090#M15693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have reworked my findTask and simplify the logic, now I am getting a results in the executecompleteHandler but the graphics is still not being displaying on the. Not sure what I am doing wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Help Please....&lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
protected function button1_clickHandler(event:MouseEvent):void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated method stub
&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; findTask.execute(myFindParams);
}
&amp;nbsp;&amp;nbsp; 
private function executeCompleteHandler2(event:FindEvent):void
{
 var snv:SplitViewNavigator=navigator.parentNavigator as SplitViewNavigator;
&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; var mapView:ViewNavigator=snv.getViewNavigatorAt(1) as ViewNavigator;
 zx.text = "Found " + event.findResults.length + " results.";
 mapView.pushView(map, event.findResults);
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:34:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703090#M15693</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2021-12-12T05:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703091#M15694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You got to read your documentation more. The type returned by a FindEvent.findResults is an Array of FindResults... Not an Array of Graphics. You are going to have to process the find results and get to each of the one of their feature properties which is an actual graphic and add that to an ArrayCollection to act as a graphics provider.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 21:49:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703091#M15694</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-08-05T21:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703092#M15695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ooopps. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am finally seeing graphics. Forgot to follow all the way through with the logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I initially was looping through the findResult and adding them to my findTaskResult arraycollection, but I was having problem with my findTask, so I didn't get the result I was looking for. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Looked at the code again, made some changes and&amp;nbsp; I am seeing graphics again,&amp;nbsp; Yay....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for helping.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 22:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703092#M15695</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-05T22:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703093#M15696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Glad to help, now you can do your parts by marking this thread as answered:&lt;/SPAN&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 these 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.3/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer3.3/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 11:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703093#M15696</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-08-06T11:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703094#M15697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Considere it done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing that is bugging me now is the transition, it doesn't work well for map-centric apps. I am trying to get rid of using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapView.pushView(map, findTaskResults, null, null); but it not working for me. Any hints?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 14:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703094#M15697</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-06T14:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703095#M15698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Koman,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I am not big into Mobile development so I don't have a suggestion there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 15:23:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703095#M15698</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-08-06T15:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703096#M15699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I appreciate that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Day..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 15:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703096#M15699</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-06T15:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703097#M15700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure specifically what you are trying to do by using or getting rid of transitions. By using pushView you are changing the active view which is appropriate in a mobile setting, too many active views eats up memory. If you want to stay in your current view you can use states instead of changing views or just create a pop-up to display results. I have done it both ways and each way has its benefits.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 13:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703097#M15700</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2013-08-12T13:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Flex Mobile / FindTask &amp; SplitViewNavigator</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703098#M15701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Aaron, I was able to do this in the ViewNavigator by setting transitionsEnabled="false".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 14:27:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/flex-mobile-findtask-amp-amp-amp/m-p/703098#M15701</guid>
      <dc:creator>KomanDiabate</dc:creator>
      <dc:date>2013-08-12T14:27:42Z</dc:date>
    </item>
  </channel>
</rss>

