<?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: Include 'TIME' with Date field for Popup works but nothing exists for Query Results? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337100#M8930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this works in Version 1.3 and not in 1.2. (sigh)&lt;/P&gt;&lt;P&gt;I just tried a new blank new Web App, and get the same result (no TIME).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="158035" alt="11.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158035_11.png" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2015 18:16:58 GMT</pubDate>
    <dc:creator>MichaelRobb</dc:creator>
    <dc:date>2015-12-18T18:16:58Z</dc:date>
    <item>
      <title>Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337095#M8925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a question if this requires customizing or if I have missed a means of having this work out of the box.&lt;/P&gt;&lt;P&gt;Scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Web Map.&amp;nbsp; Configuring Popup, you can select to have Time included with Date field (Configuration)&lt;/P&gt;&lt;P&gt;As seen here:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="image-1 jive-image" height="223" src="https://community.esri.com/legacyfs/online/157993_1.png" style="width: 381px; height: 223.069px;" width="381" /&gt;&lt;/P&gt;&lt;P&gt;The change would produce the following in a feature popup:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/158030_2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Web application Query widget... pointing to the same layer... If a Query is Initiated, the result as well as the Popup when clicking on the result shows the following:&amp;nbsp; (No Time)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/158031_3.png" style="width: 620px; height: 365px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337095#M8925</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T17:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337096#M8926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The query widget produces a layer using the query results and that new layer is not using the popup defined in the webmap, but the one defined in the Query widget UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 17:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337096#M8926</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-18T17:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337097#M8927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;makes sense.&amp;nbsp; So I need to change the query code to be able to include Time?&amp;nbsp; I dont see any configuration ability in the Query Widget to also have time be included in date field calls.&lt;/P&gt;&lt;P&gt;Results settings only has the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="11.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158033_11.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:02:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337097#M8927</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337098#M8928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; By default the date field if it includes time will be displayed with date and time. Here is an example image of my app that has a date field and it is showing the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158037_example.jpg" style="width: 620px; height: 489px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337098#M8928</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-18T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337099#M8929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then something is wrong as the field contains Date/Time information as shown above when enabling with the custom popup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337099#M8929</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T18:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337100#M8930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this works in Version 1.3 and not in 1.2. (sigh)&lt;/P&gt;&lt;P&gt;I just tried a new blank new Web App, and get the same result (no TIME).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="158035" alt="11.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158035_11.png" style="width: 620px; height: 307px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337100#M8930</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T18:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337101#M8931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I just tested another layer with date and time and same result it shows up automatically. I am testing in WAB 1.3&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158040_example.jpg" style="width: 620px; height: 489px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337101#M8931</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-18T18:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337102#M8932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a screen shot of the Attribute Table in the same Test Web App..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="11.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/158042_11.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 18:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337102#M8932</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337103#M8933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; OK, the change for 1.2 is simple to get the time to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Widget.js for the Query widget find the _tryLocaleNumber function and change the code from:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _tryLocaleDate: function(date){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var result = jimuUtils.localizeDate(date, {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selector: 'date'
&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;&amp;nbsp; if(!result){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = date.toLocaleDateString();
&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;&amp;nbsp; return result;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;P&gt;to:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _tryLocaleDate: function(date){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var result = jimuUtils.localizeDate(date);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!result){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; result = date.toLocaleDateString();
&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;&amp;nbsp; return result;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:57:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337103#M8933</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T15:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337104#M8934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does one learn WABde as much as you have? &lt;/P&gt;&lt;P&gt;Thanks for showing that a simple selector bit of code is there and simply needs to be removed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This of course means I can select TIME only or DATE only at any instance.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;, {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; selector: 'date'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 21:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337104#M8934</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2015-12-18T21:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337105#M8935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am just good a deciphering code, because I write code everyday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 21:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337105#M8935</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-12-18T21:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337106#M8936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course ESRI broke this in WAB 2.1 &amp;nbsp;Back to only displaying a Date, without time.&lt;/P&gt;&lt;P&gt;Are you able to point me in the direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found the code block in Widgets\Query\SingleQueryLoader.js&lt;/P&gt;&lt;P&gt;but I cant get the time to appear in the query results or query result popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;_tryLocaleDate: function(date){&lt;BR /&gt; var result = jimuUtils.localizeDate(date);&lt;BR /&gt; if(!result){&lt;BR /&gt; result = date.toLocaleDateString();&lt;BR /&gt; }&lt;BR /&gt; return result;&lt;BR /&gt; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337106#M8936</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2016-08-19T21:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Include 'TIME' with Date field for Popup works but nothing exists for Query Results?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337107#M8937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I had looked too deep into this...&lt;/P&gt;&lt;P&gt;this is now done through the config.json file.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "fieldName": "CLOSE_TIME",&lt;BR /&gt; "label": "CLOSE_TIME",&lt;BR /&gt; "tooltip": "",&lt;BR /&gt; "visible": false,&lt;BR /&gt; "format": {&lt;BR /&gt; "dateFormat": "shortDateShortTime"&lt;BR /&gt; },&lt;BR /&gt; "stringFieldOption": "textbox"&lt;BR /&gt; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2016 22:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/include-time-with-date-field-for-popup-works-but/m-p/337107#M8937</guid>
      <dc:creator>MichaelRobb</dc:creator>
      <dc:date>2016-08-19T22:24:08Z</dc:date>
    </item>
  </channel>
</rss>

