<?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: Date Range Search Expression Advanced eSearch Widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429773#M12170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Christopher,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; One of my 2012 Dev Summit presentations included code and a widget for crime mapping exactly what you are talking about. It is not a mod for the eSearch it is a completely new widget, but you could glean all the basics from it. The biggest thing is SQL date ranges are a nightmare but setting a time extent works beautifully.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip"&gt;http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I sometimes wonder if you have figured it all out, Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the file, it will come in very handy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2012 18:16:04 GMT</pubDate>
    <dc:creator>ChristopherBlinn1</dc:creator>
    <dc:date>2012-06-12T18:16:04Z</dc:date>
    <item>
      <title>Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429768#M12165</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;BR /&gt;&lt;SPAN&gt;This is just a general question for other GIS Developers who have worked with Robert's eSearch widget for the Flex Viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been customizing the eSearch to meet our web application needs, and I am about to attempt another major customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking to create a search by date range function that will allow the user to select a start/end date, and then additionally select a drop down attribute value (optional).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, think of crimes.&amp;nbsp; I am wanting a way that the end user can first select the Crimes Layer, select a date range, then have the option to select a crime type, for instance Arson Crimes.&amp;nbsp; So if the user chose a start date of 3/1/2012 and an end date of 3/30/2012, and then also selected Arson from the Crime Type drop down, then only Arson crimes in March 2012 would be displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone been working on doing something similar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My idea is that I will create the date range selection tool, and make it visible when Crimes are the selected layer.&amp;nbsp; Then build the SQL function so that if the date range and crime type have values, the appropriate AND statement is constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm just looking for any tips from developers who have attempted or successfully completed a similar task.&amp;nbsp; Not necessarily looking for sample code.&amp;nbsp; Just brainstorming, really.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 17:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429768#M12165</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2012-06-12T17:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429769#M12166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For a little more clarification, I am wanting to use the DateChoose Controls to select the start/end dates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 17:49:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429769#M12166</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2012-06-12T17:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429770#M12167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Christopher,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the latest esearch widget that Robert posted up last week:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e"&gt;http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This now allows you to search on multiple fields so you could set up crime type, start date and end date&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: missed your second post about DateChoose controls, this is something that you would have to program your self as Roberts widget is set up to use input fields, but it is a good place to start&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 17:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429770#M12167</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2012-06-12T17:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429771#M12168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Christopher,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; One of my 2012 Dev Summit presentations included code and a widget for crime mapping exactly what you are talking about. It is not a mod for the eSearch it is a completely new widget, but you could glean all the basics from it. The biggest thing is SQL date ranges are a nightmare but setting a time extent works beautifully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip" rel="nofollow" target="_blank"&gt;http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 17:54:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429771#M12168</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-12T17:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429772#M12169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;PS: missed your second post about DateChoose controls, this is something that you would have to program your self as Roberts widget is set up to use input fields, but it is a good place to start&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I definitely plan on programming it myself.&amp;nbsp; I first just wanted to get some input from others.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 18:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429772#M12169</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2012-06-12T18:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429773#M12170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Christopher,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; One of my 2012 Dev Summit presentations included code and a widget for crime mapping exactly what you are talking about. It is not a mod for the eSearch it is a completely new widget, but you could glean all the basics from it. The biggest thing is SQL date ranges are a nightmare but setting a time extent works beautifully.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip"&gt;http://gis.calhouncounty.org/devsummit2012/devsumit2012.zip&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I sometimes wonder if you have figured it all out, Robert!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the file, it will come in very handy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2012 18:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429773#M12170</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2012-06-12T18:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429774#M12171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the eSearch widget to work with a date range.&amp;nbsp; It actually was pretty simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the date selector controls and a conditional statement which checks to see if the date range is selected, and then concatenates to the eVal variable before the expression (expr) is queried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The next step is to get the result graphics to use a unique value renderer so the different crime types use a unique picture marker.&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;Chris B.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 14:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429774#M12171</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2012-06-18T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429775#M12172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Christopher,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have almost same request as yours :&amp;nbsp; select a date range, search the Crime Layers. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I never worked in GIS area. Could you please give me detail information how did you make the eSearch work on the Date range and crime layer search?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;UL&gt;&lt;/UL&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;LI&gt;We have the ArcGIS Viewer for Flex Application Builder Version3.1.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Download the Enhanced Search Widget Version 3.1.12. Do you use the Compiled eSearch or unCompiled eSearch?&lt;/LI&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Julie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 17:01:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429775#M12172</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2013-06-11T17:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429776#M12173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;QUOTE=cblinnmrc;207871]All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the eSearch widget to work with a date range.&amp;nbsp; It actually was pretty simple.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added the date selector controls and a conditional statement which checks to see if the date range is selected, and then concatenates to the eVal variable before the expression (expr) is queried.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you all for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The next step is to get the result graphics to use a unique value renderer so the different crime types use a unique picture marker.&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;Chris B.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Christopher,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, I got the eSearch widget to work with combined fields. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the date field doesn't work. I am using SQL Server database, the call date type is DATE. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you put the Calender button on the eSearch?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25231[/ATTACH]&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;Julie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 19:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429776#M12173</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2013-06-12T19:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429777#M12174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Julie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using the 2.5 Flex Viewer and everything I added was to the uncompiled version of Robert's widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not even looked at the 3.1 version, but that is mainly because I am moving away from Flex and doing Javascript now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The changes from 2.5 to 3.1 are quite substantial, and with my time no longer devoted to Flex I have no idea when I will get around to configuring the widget to the 3.x version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris B.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 19:53:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429777#M12174</guid>
      <dc:creator>ChristopherBlinn1</dc:creator>
      <dc:date>2013-06-18T19:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429778#M12175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Julie,&lt;BR /&gt;&lt;BR /&gt;I was using the 2.5 Flex Viewer and everything I added was to the uncompiled version of Robert's widget.&lt;BR /&gt;&lt;BR /&gt;I have not even looked at the 3.1 version, but that is mainly because I am moving away from Flex and doing Javascript now.&lt;BR /&gt;&lt;BR /&gt;The changes from 2.5 to 3.1 are quite substantial, and with my time no longer devoted to Flex I have no idea when I will get around to configuring the widget to the 3.x version.&lt;BR /&gt;&lt;BR /&gt;Chris B.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Chris for your answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 17:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429778#M12175</guid>
      <dc:creator>JulieYuan</dc:creator>
      <dc:date>2013-06-19T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date Range Search Expression Advanced eSearch Widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429779#M12176</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;BR /&gt;&lt;SPAN&gt;I'm wondering if anyone here has had luck with modifying Rob's eSearch widget to search by date &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;ranges &lt;/SPAN&gt;&lt;SPAN&gt;(other than using the direct SQL option). It looks like there was some progress a while back but nothing more recent.&amp;nbsp; Has anyone some code to share on how to accomplish what Christopher Blinn did with his modifications (from earlier posts in this thread)?&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;~ D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 03:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/date-range-search-expression-advanced-esearch/m-p/429779#M12176</guid>
      <dc:creator>DanielOchoa</dc:creator>
      <dc:date>2013-12-06T03:49:18Z</dc:date>
    </item>
  </channel>
</rss>

