<?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: Cascade Search in Flex in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529168#M14738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would imagine that you will need to either program a widget yourself via the API for Flex, or create a Python script and run it through the model builder, then publish it as a GeoProcessing service.&amp;nbsp; Which in turn you would use to create a basic shelled widget in the Viewer for Flex app.&lt;BR /&gt;&lt;BR /&gt;I've created a couple of widgets this way.&amp;nbsp; They don't look fancy as you cannot control the look and feel of the GUI if you go the later route.&lt;BR /&gt;&lt;BR /&gt;However, if you go the first route, via the API, then you can tweak the heck out of it.&lt;BR /&gt;&lt;BR /&gt;Haskett&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said to Joe I'm not able to program in flash, but in python maybe I can "create" something! Thanks for the advice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I keep you informed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;Edoardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 07:06:59 GMT</pubDate>
    <dc:creator>CarloBlasi</dc:creator>
    <dc:date>2013-10-03T07:06:59Z</dc:date>
    <item>
      <title>Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529162#M14732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello to All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to create a "wiget" (or modified one of the available) for performing cascade search reading different fields inside a data base!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fields will be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Family&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Gender&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Species&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i select one family from the "Family" tab subsequently i want to find only the Gender (inside the Gender tab) related to the selected Family! Etc. Etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that possible!?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcGIS Flexviewer for Flex 3.4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is someone that can help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edoardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 14:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529162#M14732</guid>
      <dc:creator>CarloBlasi</dc:creator>
      <dc:date>2013-09-30T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529163#M14733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;UP!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;no one????&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 11:00:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529163#M14733</guid>
      <dc:creator>CarloBlasi</dc:creator>
      <dc:date>2013-10-02T11:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529164#M14734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Edoardo-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have asked about this in regards the the eSearch Widget; see &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/82076-eSearch-Questionhttp://"&gt;here&lt;/A&gt;&lt;SPAN&gt;. However this doesn't mean that it can not be accomplished through some customization, I just have not seen an example of it. If you do come up with something, I would be interested in seeing it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 11:40:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529164#M14734</guid>
      <dc:creator>MattPohl</dc:creator>
      <dc:date>2013-10-02T11:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529165#M14735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would imagine that you will need to either program a widget yourself via the API for Flex, or create a Python script and run it through the model builder, then publish it as a GeoProcessing service.&amp;nbsp; Which in turn you would use to create a basic shelled widget in the Viewer for Flex app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a couple of widgets this way.&amp;nbsp; They don't look fancy as you cannot control the look and feel of the GUI if you go the later route.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you go the first route, via the API, then you can tweak the heck out of it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Haskett&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 21:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529165#M14735</guid>
      <dc:creator>GeorgeHaskett</dc:creator>
      <dc:date>2013-10-02T21:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529166#M14736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would depend on how big your data is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have implemented a similiar ability to the &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e"&gt;eSearch&lt;/A&gt;&lt;SPAN&gt; widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a drop down box that contains a list of my map services. Once the map service is selected, I have a drop down box populate with only the layers that relate to that specific selected Service. Its not doing a query but instead since I only have 3 services, I simply creating an if statement that removes layers from the dropdown that dont relate to my selected service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And then I can create an SQL statement for that layer, inside that service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not a solution to this problem but might be relevant to you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 01:59:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529166#M14736</guid>
      <dc:creator>JoeHewitt</dc:creator>
      <dc:date>2013-10-03T01:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529167#M14737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It would depend on how big your data is. &lt;BR /&gt;&lt;BR /&gt;I have implemented a similiar ability to the &lt;A href="http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e"&gt;eSearch&lt;/A&gt; widget.&lt;BR /&gt;&lt;BR /&gt;I have a drop down box that contains a list of my map services. Once the map service is selected, I have a drop down box populate with only the layers that relate to that specific selected Service. Its not doing a query but instead since I only have 3 services, I simply creating an if statement that removes layers from the dropdown that dont relate to my selected service.&lt;BR /&gt;And then I can create an SQL statement for that layer, inside that service.&lt;BR /&gt;&lt;BR /&gt;Not a solution to this problem but might be relevant to you.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answer Joe! Could be a solution........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please send me the code? Do you mind? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not able to programming in flash, but i can modify the script to see if I can get what I need!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to post the code on the forum you can send it by email at &lt;/SPAN&gt;&lt;A href="mailto:edoardo.scepi@gmail.com"&gt;edoardo.scepi@gmail.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can not or do not want don't worry I completely understand!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edoardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 07:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529167#M14737</guid>
      <dc:creator>CarloBlasi</dc:creator>
      <dc:date>2013-10-03T07:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529168#M14738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I would imagine that you will need to either program a widget yourself via the API for Flex, or create a Python script and run it through the model builder, then publish it as a GeoProcessing service.&amp;nbsp; Which in turn you would use to create a basic shelled widget in the Viewer for Flex app.&lt;BR /&gt;&lt;BR /&gt;I've created a couple of widgets this way.&amp;nbsp; They don't look fancy as you cannot control the look and feel of the GUI if you go the later route.&lt;BR /&gt;&lt;BR /&gt;However, if you go the first route, via the API, then you can tweak the heck out of it.&lt;BR /&gt;&lt;BR /&gt;Haskett&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said to Joe I'm not able to program in flash, but in python maybe I can "create" something! Thanks for the advice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I keep you informed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&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;Edoardo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 07:06:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529168#M14738</guid>
      <dc:creator>CarloBlasi</dc:creator>
      <dc:date>2013-10-03T07:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529169#M14739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joe,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that something you were able to do in the Compiled or the Uncompiled version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great if you could share an example...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edoardo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python is fairly straght forward, once you get through the process the first time, it only gets easier after that.&amp;nbsp; I'm assuming you have access to an ArcGIS Server license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Haskett&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 14:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529169#M14739</guid>
      <dc:creator>GeorgeHaskett</dc:creator>
      <dc:date>2013-10-03T14:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529170#M14740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry about the delay in getting back to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I edited the uncompiled version of the esearch widget in Flashbuilder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The esearch widget is massive so I wont post all of the code, as I also added other features like the ability to export my search result to a shapefile. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here I create a Drop Down List, With a list of my services for the user to choose from&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;s:DropDownList id="serviceDdl" change="serviceChanged(event)"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;s:ArrayList&amp;gt;
&amp;lt;fx:Object data="Tenements" label="Tenements" url="http://xxx/arcgis/rest/services/Tenements/MapServer"/&amp;gt;&amp;nbsp;&amp;nbsp; 
&amp;lt;fx:Object data="Drilling" label="Drilling" url="http://xxx/arcgis/rest/services/Drilling/MapServer"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;lt;/s:ArrayList&amp;gt;
&amp;lt;/s:DropDownList&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As the DDL is changed, it calls servicechanged which calls my private function loadLayer which holds the code below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
if (serviceDdl.selectedItem.data == "Drilling")
{
cboLayerText.dataProvider.removeItemAt(0);
cboLayerText.dataProvider.removeItemAt(0);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If Drilling service is selected then it removes the first two items of the cboLayerText combobox (Because those layers are not under the drilling service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
else if (serviceDdl.selectedItem.data == "Tenements")
{
cboLayerText.dataProvider.removeItemAt(3);
cboLayerText.dataProvider.removeItemAt(2);
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If tenements is selected then it removes my last two layers from the combobox, because they are layers from the drilling service and not tenements service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cboLayerText is the combobox that grabs the url of the layer that is selected (which you set in the .xml config of the widget) Thus the search is done on my final selected layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if any of these concepts work in Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529170#M14740</guid>
      <dc:creator>JoeHewitt</dc:creator>
      <dc:date>2021-12-12T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cascade Search in Flex</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529171#M14741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joe I do not know how to thank you!!!!!!!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You gave me a huge help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sure that with your "hint" I will be able to do something........&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep you informed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 06:50:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/cascade-search-in-flex/m-p/529171#M14741</guid>
      <dc:creator>CarloBlasi</dc:creator>
      <dc:date>2013-10-07T06:50:52Z</dc:date>
    </item>
  </channel>
</rss>

