<?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: IdentifyParameters with TimeExtent Usage/Bug? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1142724#M76315</link>
    <description>&lt;P&gt;Looks like a bug in 4.22. We'll get this fixed for the next release.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 17:12:52 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2022-02-10T17:12:52Z</dc:date>
    <item>
      <title>IdentifyParameters with TimeExtent Usage/Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1142659#M76314</link>
      <description>&lt;P&gt;I'm trying to use identify with a time extent and have set it on the IdentifyParameters as shown in the documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;let params = new IdentifyParameters();&lt;BR /&gt;let timeExtent = new TimeExtent({&lt;BR /&gt;start: new Date(Date.UTC(2022, 1, 1)),&lt;BR /&gt;end: new Date(Date.UTC(2022, 1, 15))&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;params.timeExtent = timeExtent;&lt;BR /&gt;params.geometry = polygon;&lt;BR /&gt;params.returnGeometry = false;&lt;BR /&gt;params.width = this.view.width;&lt;BR /&gt;params.height = this.view.height;&lt;BR /&gt;identify.identify(url,params).then(dojo.hitch(this, function(response) {&lt;BR /&gt;console.log(response);&lt;BR /&gt;}));&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm getting a javascript error upon execution, it appears it's trying to take the TimeExtent object and do a join(",") against it resulting in an error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;identify.js?v=2.0.1.4:6 Uncaught (in promise) TypeError: k.join is not a function&lt;BR /&gt;at Object.g.identifyToIdentifyRESTParameters (identify.js?v=2.0.1.4:6:12)&lt;BR /&gt;at identify.js?v=2.0.1.4:4:408&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;timeExtent: k,&lt;BR /&gt;a.time = k ? k.join(",") : null;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It appears this might be a bug, or I'm attempting to call it incorrectly?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 15:41:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1142659#M76314</guid>
      <dc:creator>EricDurbin</dc:creator>
      <dc:date>2022-02-10T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyParameters with TimeExtent Usage/Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1142724#M76315</link>
      <description>&lt;P&gt;Looks like a bug in 4.22. We'll get this fixed for the next release.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 17:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1142724#M76315</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-02-10T17:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: IdentifyParameters with TimeExtent Usage/Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1145706#M76403</link>
      <description>&lt;P&gt;This should be fixed in our "next" build.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next/" target="_blank" rel="noopener"&gt;https://github.com/Esri/feedback-js-api-next/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please test with one of these two methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// CDN
&amp;lt;script src="https://js.arcgis.com/next/"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;&lt;LI-CODE lang="markdown"&gt;// npm
npm install @arcgis/core@next&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 17:52:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/identifyparameters-with-timeextent-usage-bug/m-p/1145706#M76403</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-02-18T17:52:42Z</dc:date>
    </item>
  </channel>
</rss>

