<?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 a.format.dateFormat.toLowerCase is not a function in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/a-format-dateformat-tolowercase-is-not-a-function/m-p/86382#M2503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anyone else seeing the javascript error&amp;nbsp;Setting.js?wab_dv=2.7:formatted:151 "a.format.dateFormat.toLowerCase is not a function"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement is missing&amp;nbsp;"&lt;SPAN style="color: #222222;"&gt;datePattern". It should be&amp;nbsp;&lt;SPAN&gt;a.format.dateFormat.datePattern.toLowerCase()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;getFieldInfosFromWebmap: function(a, c) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var d = null;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;(a = c.getLayerInfoByTopLayerId(a)) &amp;amp;&amp;amp; (a = a.getPopupInfo()) &amp;amp;&amp;amp; a.fieldInfos &amp;amp;&amp;amp; (d = k.clone(a.fieldInfos));&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d &amp;amp;&amp;amp; f.forEach(d, function(a) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;a.format &amp;amp;&amp;amp; a.format.dateFormat &amp;amp;&amp;amp;&lt;SPAN style="color: #ff0000;"&gt; a.format.dateFormat.toLowerCase()&lt;/SPAN&gt; &amp;amp;&amp;amp; 0 &amp;lt;= &amp;nbsp;&amp;nbsp;&amp;nbsp;a.format.dateFormat.toLowerCase().indexOf("time") &amp;amp;&amp;amp; (a.format.time = !0)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;BR /&gt; return d&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is breaking my any WebApp that allows edit and has any date in the list of fields. I think it just started happening last night as my app broke without any help from me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also guess this is breaking the map on Collector as it stopped working at the same time. But I can't debug it so I don't even know if it uses the same javascript code base&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 17:21:10 GMT</pubDate>
    <dc:creator>mikeanciaux</dc:creator>
    <dc:date>2018-02-09T17:21:10Z</dc:date>
    <item>
      <title>a.format.dateFormat.toLowerCase is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/a-format-dateformat-tolowercase-is-not-a-function/m-p/86382#M2503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anyone else seeing the javascript error&amp;nbsp;Setting.js?wab_dv=2.7:formatted:151 "a.format.dateFormat.toLowerCase is not a function"..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement is missing&amp;nbsp;"&lt;SPAN style="color: #222222;"&gt;datePattern". It should be&amp;nbsp;&lt;SPAN&gt;a.format.dateFormat.datePattern.toLowerCase()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;getFieldInfosFromWebmap: function(a, c) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var d = null;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;(a = c.getLayerInfoByTopLayerId(a)) &amp;amp;&amp;amp; (a = a.getPopupInfo()) &amp;amp;&amp;amp; a.fieldInfos &amp;amp;&amp;amp; (d = k.clone(a.fieldInfos));&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d &amp;amp;&amp;amp; f.forEach(d, function(a) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;a.format &amp;amp;&amp;amp; a.format.dateFormat &amp;amp;&amp;amp;&lt;SPAN style="color: #ff0000;"&gt; a.format.dateFormat.toLowerCase()&lt;/SPAN&gt; &amp;amp;&amp;amp; 0 &amp;lt;= &amp;nbsp;&amp;nbsp;&amp;nbsp;a.format.dateFormat.toLowerCase().indexOf("time") &amp;amp;&amp;amp; (a.format.time = !0)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;BR /&gt; return d&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is breaking my any WebApp that allows edit and has any date in the list of fields. I think it just started happening last night as my app broke without any help from me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also guess this is breaking the map on Collector as it stopped working at the same time. But I can't debug it so I don't even know if it uses the same javascript code base&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/a-format-dateformat-tolowercase-is-not-a-function/m-p/86382#M2503</guid>
      <dc:creator>mikeanciaux</dc:creator>
      <dc:date>2018-02-09T17:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: a.format.dateFormat.toLowerCase is not a function</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/a-format-dateformat-tolowercase-is-not-a-function/m-p/86383#M2504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Have you made changes to the web map recently? Did you make schema changes to any layers the web map is using recently?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 17:39:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/a-format-dateformat-tolowercase-is-not-a-function/m-p/86383#M2504</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-09T17:39:23Z</dc:date>
    </item>
  </channel>
</rss>

