<?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: JS API 4.17 - Opening popup with actions in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-17-opening-popup-with-actions/m-p/100030#M9151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markos,&lt;/P&gt;&lt;P&gt;Thanks for letting us know. L&lt;SPAN style="text-decoration: line-through;"&gt;ooking into it now and will let you know ASAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ok, so the problem is attributed to the date fields. It happens when there's a date &lt;EM&gt;fieldInfo&lt;/EM&gt; specified at the &lt;EM&gt;popupTemplate&amp;nbsp;&lt;/EM&gt;level and rendered within the popup. Even though we don't have any date fields specified in the fields fieldInfos configuration for the popup's content, it still reads the fields specified in the layer and by default displays the editor tracking information, ie. &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#lastEditInfoEnabled"&gt;PopupTemplate.lastEditInfoEnabled&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I removed the layer's outFields and set the lastEditInfoEnabled property to false, the sample runs fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created a fix for it and it will be added to the next release.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Oct 2020 20:04:47 GMT</pubDate>
    <dc:creator>HeatherGonzago</dc:creator>
    <dc:date>2020-10-14T20:04:47Z</dc:date>
    <item>
      <title>JS API 4.17 - Opening popup with actions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-17-opening-popup-with-actions/m-p/100029#M9150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JS API version 4.17:&lt;/P&gt;&lt;P&gt;Opening popup with actions, returns Error - error loading popupTemplate for graphic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;error: RangeError:Invalid time value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This also happens on the sample code:&amp;nbsp;Custom popup actions per feature attribute | Sample | ArcGIS API for&lt;BR /&gt; JavaScript 4.17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popup-custom-action" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=popup-custom-action"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 19:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-17-opening-popup-with-actions/m-p/100029#M9150</guid>
      <dc:creator>MKY</dc:creator>
      <dc:date>2020-10-14T19:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: JS API 4.17 - Opening popup with actions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-17-opening-popup-with-actions/m-p/100030#M9151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markos,&lt;/P&gt;&lt;P&gt;Thanks for letting us know. L&lt;SPAN style="text-decoration: line-through;"&gt;ooking into it now and will let you know ASAP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ok, so the problem is attributed to the date fields. It happens when there's a date &lt;EM&gt;fieldInfo&lt;/EM&gt; specified at the &lt;EM&gt;popupTemplate&amp;nbsp;&lt;/EM&gt;level and rendered within the popup. Even though we don't have any date fields specified in the fields fieldInfos configuration for the popup's content, it still reads the fields specified in the layer and by default displays the editor tracking information, ie. &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#lastEditInfoEnabled"&gt;PopupTemplate.lastEditInfoEnabled&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I removed the layer's outFields and set the lastEditInfoEnabled property to false, the sample runs fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created a fix for it and it will be added to the next release.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Heather&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Oct 2020 20:04:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-api-4-17-opening-popup-with-actions/m-p/100030#M9151</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2020-10-14T20:04:47Z</dc:date>
    </item>
  </channel>
</rss>

