<?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: DateTime Picker when editing (4.x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1083275#M74038</link>
    <description>&lt;P&gt;Did you have any luck getting date / time pickers to work with the 4.x edit widget?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jul 2021 20:47:24 GMT</pubDate>
    <dc:creator>RobertHauck1</dc:creator>
    <dc:date>2021-07-27T20:47:24Z</dc:date>
    <item>
      <title>DateTime Picker when editing (4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/35935#M2975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a js app that is utilising the editor widget for a number of feature layers. These feature layers have datetime fields, which need to be filled in by users. The default config for these fields when using the js app, is a free text field (image below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I make these date fields display as a DateTime Picker when editing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; view.map.layers.forEach(function(layer) {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; if (layer.title === "Point Features") {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; editConfigPointLayer = {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; layer: layer,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Set it so that only one field displays within the form&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; fieldConfig: [&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; name: 'tier',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; label: 'Tier'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; },&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; name: 'delivery_phase',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; label: 'Delivery Phase'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; },&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; name: 'date_insta',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; label: 'Date Installed'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; },&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; name: 'prop_imple',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; label: 'Proposed Implementation Date'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; ]&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;});&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; // Create the Editor&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; let editor = new Editor({&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; view: view,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Pass in the configurations created above&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; layerInfos: [editConfigLinearLayer, editConfigPointLayer,editConfigPolygonLayer],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; // Override the default template behavior of the Editor widget&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; supportingWidgetDefaults: {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; featureTemplates: {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; groupBy: customGroup&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; });&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DateTime field - editing" class="jive-emoji image-1 jive-image" height="279" src="/legacyfs/online/496440_Screenshot 2020-06-13 at 10.22.49.png" width="463" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 09:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/35935#M2975</guid>
      <dc:creator>RonParis</dc:creator>
      <dc:date>2020-06-13T09:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime Picker when editing (4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1083275#M74038</link>
      <description>&lt;P&gt;Did you have any luck getting date / time pickers to work with the 4.x edit widget?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 20:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1083275#M74038</guid>
      <dc:creator>RobertHauck1</dc:creator>
      <dc:date>2021-07-27T20:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime Picker when editing (4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1090753#M74351</link>
      <description>&lt;P&gt;DateTime picker is not working in 4.20 when editing. Any plans for 4.21?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 11:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1090753#M74351</guid>
      <dc:creator>MKY</dc:creator>
      <dc:date>2021-08-20T11:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: DateTime Picker when editing (4.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1209723#M78590</link>
      <description>&lt;P&gt;Maybe 4.22, 4.23,4.24,4.25 ?!?&lt;/P&gt;&lt;P&gt;no...&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 21:20:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/datetime-picker-when-editing-4-x/m-p/1209723#M78590</guid>
      <dc:creator>DvirusG</dc:creator>
      <dc:date>2022-09-05T21:20:13Z</dc:date>
    </item>
  </channel>
</rss>

