<?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 Setting timeExtent programmatically does not update Timeline Widget in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/setting-timeextent-programmatically-does-not/m-p/1346294#M9215</link>
    <description>&lt;P&gt;Two questions about setting the time extent in an ExB app using the Timeline widget.&lt;/P&gt;&lt;P&gt;1. I am using the "Customize time settings" in the Timeline widget as it allows nice control over setting the min/max date range based off today (+/- 3 months). But from what I can tell there is no way to initialize the time to today. It always starts at the start time. Am I missing something to set the initial slider time?&lt;/P&gt;&lt;P&gt;2. How I handled this in WAB was in a custom background widget I would just set the initial time to today. Trying the same in ExB while it does set the initial map time, the Timeline widget does not update. Is there a way to get it to refresh to the time extent? Some event I can fire to tell it to update? Is it even using the maps time extent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//Set initial map date to today
var currentDate = new Date(Date.now());
currentDate.setHours(0,0,0,0); 
map.view.timeExtent = {
  start: currentDate,
  end: currentDate
}
//Timeline does not refresh to show this time and upon opening resets the map's time to it's own.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts!&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 20:26:47 GMT</pubDate>
    <dc:creator>RyanCoodey</dc:creator>
    <dc:date>2023-11-06T20:26:47Z</dc:date>
    <item>
      <title>Setting timeExtent programmatically does not update Timeline Widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/setting-timeextent-programmatically-does-not/m-p/1346294#M9215</link>
      <description>&lt;P&gt;Two questions about setting the time extent in an ExB app using the Timeline widget.&lt;/P&gt;&lt;P&gt;1. I am using the "Customize time settings" in the Timeline widget as it allows nice control over setting the min/max date range based off today (+/- 3 months). But from what I can tell there is no way to initialize the time to today. It always starts at the start time. Am I missing something to set the initial slider time?&lt;/P&gt;&lt;P&gt;2. How I handled this in WAB was in a custom background widget I would just set the initial time to today. Trying the same in ExB while it does set the initial map time, the Timeline widget does not update. Is there a way to get it to refresh to the time extent? Some event I can fire to tell it to update? Is it even using the maps time extent?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//Set initial map date to today
var currentDate = new Date(Date.now());
currentDate.setHours(0,0,0,0); 
map.view.timeExtent = {
  start: currentDate,
  end: currentDate
}
//Timeline does not refresh to show this time and upon opening resets the map's time to it's own.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any thoughts!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 20:26:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/setting-timeextent-programmatically-does-not/m-p/1346294#M9215</guid>
      <dc:creator>RyanCoodey</dc:creator>
      <dc:date>2023-11-06T20:26:47Z</dc:date>
    </item>
  </channel>
</rss>

