Change time slider date extents on startup.
Can you change the time slider date extents on startup so that it's always the current day max and 30 days earlier for min?
0
-
Hi Jason,
You can only change the min/max values in Essentials Manager at the present time. I would suggest posting a request to the "Ideas" section of this site so others can comment on it and up-vote your request. The more requests, the more likely it is to be implemented.
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Thanks Wayne,
I had been experimenting with the SetTimeExtent command in a workflow by passing the current date and time but have not been able to make it work. Maybe that command is not related to the time slider?
To experiment I was passing a default value similar to this:
New ESRI.ArcGIS.Client.TimeExtent(New DateTime(2016, 11, 1), DateTime.Now)
Jason0 -
I just realized that this actually works! It changes the time extent, and displays the correct data. My only problem now is that the slider control dates don't change. Is it possible to update the DIV elements of the slider control from a workflow? I was thinking if I could run a javascript function I could update the element manually since the time extent does work.
Jason0 -
Hi Jason,
As you've discovered, the SetTimeExtent command can be used to set the time extent for the site. However, this is essentially performing the duty of the time slider without actually involving the time slider itself. Unfortunately, javascript is not permitted in workflows as it could introduce potential security risks, and we don't have any other workflow activities or workflow-accessible commands that will let you alter the extent of the time slider. So it looks like this is not something that can be done out-of-the-box with workflows.
Regards,
Amanda0 -
Is there already a solution to the fact that de time slider dates don't slide if you use the workflow activity SetTimeExtent?
This would be handy for me.
Thanks.0 -
I would have thought allowing the latest datetime as the extent maximum would be a very standard requirement? 0
Please sign in to leave a comment.
Comments
6 comments