<?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: Help Setting Up a Date Search in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692584#M21185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What is the DBMS that is used with SDE (i.e. Oracle, SQL Server)? That make a big difference in the Date Query String. Also you can easily figure this out on your end by opening ArcMap and doing a Attribute query for that field and using the get unique vales button to get the proper date SQL format.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 12:14:49 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-05-02T12:14:49Z</dc:date>
    <item>
      <title>Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692583#M21184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm kind of a flex viewer novice so I was hoping you would be able to help me out. I'm using the simple out-of-the-box Flexviewer application for a project where I work and I need to set up a date search. I have three data sets that are edited by outside users and each one has a date field that must be filled in when an edit is made. I would like it if someone could type a date into the search widget and receive a list, popup, etc. of the edits made on that date. My only problem is that I'm not familiar with how to set up a query expression in the XML file for the search widget. I would really appreciate the help if anyone knows how to do this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a side note: My data is stored in an ArcSDE database which stores date AND time together. I only want the user to have to type in a date and not the time (the time part is where I keep running into trouble but there is no way to eliminate it right now).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Heather&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692583#M21184</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T12:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692584#M21185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What is the DBMS that is used with SDE (i.e. Oracle, SQL Server)? That make a big difference in the Date Query String. Also you can easily figure this out on your end by opening ArcMap and doing a Attribute query for that field and using the get unique vales button to get the proper date SQL format.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:14:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692584#M21185</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692585#M21186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using SQL Server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't really think about using ArcMap to find the query expression. I'll give that a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692585#M21186</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T12:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692586#M21187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been playing around with the expressions in ArcMap but I can't seem to get any returns. The dates show up in my unique values list like this :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; '2012-01-26 05:00:00'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I only want someone to type in the date not the time. I've tested a number of expressions using the wildcard but I can't get any returns. ArcMap just tells me that there are no records. This the the expression I've been working with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DateEntered LIKE '2012-01-26%'&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 12:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692586#M21187</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692587#M21188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; It would look like this:&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;DateEntered = '[value] 00:00:00'&lt;/PRE&gt;&lt;SPAN&gt; for the OTB Search Widget expression&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:16:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692587#M21188</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T13:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692588#M21189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its not giving me any returns when I put in a date. I've used multiple date formats too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692588#M21189</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692589#M21190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; the value that needs to be entered in the widget would be YYYY/MM/DD so 2012/01/26&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 13:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692589#M21190</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T13:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692590#M21191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm still not getting any returns. Is it a problem if there are null values in the date field?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:04:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692590#M21191</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692591#M21192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; back in ArcMap make sure that this returns result when doing an attribute query on that layer:&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;DateEntered = '2012/01/26 00:00:00'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692591#M21192</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T14:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692592#M21193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It didn't select anything. It worked when I changed it to &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DateEntered = '2012-01-26 05:00:00'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the query expression in the xml file to &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;DateEntered = '[value] 05:00:00'&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I received the Error #1009 message.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 15:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692592#M21193</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T15:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692593#M21194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I need to see your SearchWidget.xml file then.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692593#M21194</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692594#M21195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Heather,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I need to see your SearchWidget.xml file then.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached a txt file&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692594#M21195</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-02T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692595#M21196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You have to have a titlefield specified.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 17:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692595#M21196</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T17:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692596#M21197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heather,&lt;/SPAN&gt;&lt;BR /&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;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 17:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692596#M21197</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-02T17:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Help Setting Up a Date Search</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692597#M21198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow. I can't believe I over looked that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Heather&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 12:17:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/help-setting-up-a-date-search/m-p/692597#M21198</guid>
      <dc:creator>heatherGrybas</dc:creator>
      <dc:date>2012-05-04T12:17:21Z</dc:date>
    </item>
  </channel>
</rss>

