<?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 ESRI JS 4.x popup template in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206114#M19124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature with a date field that I want to include in a popup.&amp;nbsp; In the AGOL web map you have the ability to customize the date format but not so when using the popupTemplate in the JS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here,&amp;nbsp;&lt;A class="link-titled" href="https://gis.greenvillesc.gov/roadclosures/indexfull.html" title="https://gis.greenvillesc.gov/roadclosures/indexfull.html"&gt;Road Closures&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on a feature then search for&amp;nbsp;street name (S IRVINE ST for example) to see difference.&amp;nbsp; Any idea how to fix this?&amp;nbsp; Should I be using an arcade expression to convert?&amp;nbsp; How is the AGOL map doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 14:56:21 GMT</pubDate>
    <dc:creator>deleted-user-OlpHy1NoMNug</dc:creator>
    <dc:date>2017-11-02T14:56:21Z</dc:date>
    <item>
      <title>ESRI JS 4.x popup template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206114#M19124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature with a date field that I want to include in a popup.&amp;nbsp; In the AGOL web map you have the ability to customize the date format but not so when using the popupTemplate in the JS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here,&amp;nbsp;&lt;A class="link-titled" href="https://gis.greenvillesc.gov/roadclosures/indexfull.html" title="https://gis.greenvillesc.gov/roadclosures/indexfull.html"&gt;Road Closures&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on a feature then search for&amp;nbsp;street name (S IRVINE ST for example) to see difference.&amp;nbsp; Any idea how to fix this?&amp;nbsp; Should I be using an arcade expression to convert?&amp;nbsp; How is the AGOL map doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:56:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206114#M19124</guid>
      <dc:creator>deleted-user-OlpHy1NoMNug</dc:creator>
      <dc:date>2017-11-02T14:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS 4.x popup template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206115#M19125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;P&gt;&amp;nbsp; you can absolutely format date fields in the 4.x PopUpTemplate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-weight: 300; font-size: 0.85em;"&gt;{DATE_FIELD:DateFormat(selector: 'date', fullYear: true)}&lt;/CODE&gt;&lt;SPAN style="color: #4c4c4c; background-color: #f8f8f8; font-weight: 300;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;produces&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #595959; background-color: #f8f8f8; border: 1px solid #efefef; font-weight: 300; font-size: 0.85em;"&gt;4/8/2009&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look for "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;The formatter functions" section.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206115#M19125</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-02T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: ESRI JS 4.x popup template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206116#M19126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, you're correct.&amp;nbsp; Thanks, Robert.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 15:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-js-4-x-popup-template/m-p/206116#M19126</guid>
      <dc:creator>deleted-user-OlpHy1NoMNug</dc:creator>
      <dc:date>2017-11-06T15:19:27Z</dc:date>
    </item>
  </channel>
</rss>

