<?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: esearch widget and date ranges in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327951#M9550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't have an oracle DB to test on but does that SQL syntax work when doing the query in ArcMap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jul 2014 23:35:02 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2014-07-26T23:35:02Z</dc:date>
    <item>
      <title>esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327950#M9549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question on the esearch widget.&lt;/P&gt;&lt;P&gt;I am trying to get to select date ranges from an oracle DB.&lt;/P&gt;&lt;P&gt;here is the code I am using but it will not work.&lt;/P&gt;&lt;P&gt;do you have any suggestions?&lt;/P&gt;&lt;P&gt;&amp;lt;value prompt="[Example: 2012-02-02]" &amp;gt; (UTC_DATE) &amp;amp;gt;= TO_DATE('[value]','YYYY-MM-DD HH24:MI:SS')&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:glenn.hazelton@mwra.com"&gt;glenn.hazelton@mwra.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 19:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327950#M9549</guid>
      <dc:creator>glennhazelton</dc:creator>
      <dc:date>2014-07-22T19:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327951#M9550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I don't have an oracle DB to test on but does that SQL syntax work when doing the query in ArcMap?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 23:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327951#M9550</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-26T23:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327952#M9551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is&lt;/P&gt;&lt;P&gt;I have called tech support&lt;/P&gt;&lt;P&gt;i'll let you know what the answer is after they work it out&lt;/P&gt;&lt;P&gt;thanks for responding&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 11:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327952#M9551</guid>
      <dc:creator>glennhazelton</dc:creator>
      <dc:date>2014-07-28T11:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327953#M9552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glenn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your map service is not public is it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 11:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327953#M9552</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-28T11:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327954#M9553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1406575893419987 jive_text_macro" jivemacro_uid="_1406575893419987"&gt;
&lt;P&gt;&amp;lt;value prompt="Example: 2012-02-02" isvaluerequired="true"dateformat="YYYY-MM-DD" useutc="true"&amp;gt;UTC_DATE &amp;gt;= '[value] 00:00:00'&amp;lt;/value&amp;gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;I don't have Oracle either, but this is working in SQL.&amp;nbsp; Looks like&amp;nbsp; you were trying to evaluate between two fields UTC_Date&amp;gt;=TO_DATE (times the value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not working, I put the uniquevalsfromfield="UTC_DATE" in there to get an idea of the format it was finding in the date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 19:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327954#M9553</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2014-07-28T19:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327955#M9554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately oracle data/time fields are different that SQLserver.&lt;/P&gt;&lt;P&gt;I have gained one bit of knowledge from tech support but I still don't have a solution.&lt;/P&gt;&lt;P&gt;it turns out there is a parameter in arcserver that turns off/on standardized query SQL. by turning it off then Dbase level queries like one I initially posted should work.&lt;/P&gt;&lt;P&gt;fyi: you get to this switch by connecting to the /admin folder and then system&amp;gt; properties&amp;gt; update and typing "standardizedQueries": "false" between the { } in the box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327955#M9554</guid>
      <dc:creator>glennhazelton</dc:creator>
      <dc:date>2014-07-30T12:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327956#M9555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So did you try a standard date query like Rhett suggested?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 12:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327956#M9555</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-07-30T12:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327957#M9556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok now I am thinking this is a arcserver 10.2.1 issue.&lt;/P&gt;&lt;P&gt;I have another setup with 10.2.2 that I have been testing.&lt;/P&gt;&lt;P&gt;the date query works with the original syntax.&lt;/P&gt;&lt;P&gt;(UTC_DATE) &amp;amp;gt;= TO_DATE('[value]','YYYY-MM-DD HH24:MI:SS')&lt;/P&gt;&lt;P&gt;I will upgrade the older one and see what happens.&lt;/P&gt;&lt;P&gt;I wish these issue were not so hard to sort out.&lt;/P&gt;&lt;P&gt;i have a help call into esri but maybe they haven't looked at the specific version.&lt;/P&gt;&lt;P&gt;or maybe there is something else different.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:17:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327957#M9556</guid>
      <dc:creator>glennhazelton</dc:creator>
      <dc:date>2014-07-30T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: esearch widget and date ranges</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327958#M9557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;I did not have this parameter set on the older install&lt;/P&gt;&lt;P&gt;fyi: you get to this switch by connecting to the /admin folder and then system&amp;gt; properties&amp;gt; update and typing "standardizedQueries": "false" between the { } in the box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the date query now works just fine.&lt;/P&gt;&lt;P&gt;thanks for your attention and ideas!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 15:37:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/esearch-widget-and-date-ranges/m-p/327958#M9557</guid>
      <dc:creator>glennhazelton</dc:creator>
      <dc:date>2014-07-30T15:37:08Z</dc:date>
    </item>
  </channel>
</rss>

