I am having an issue refreshing the time extent of a time aware feature service (published using ArcGIS Server). The feature service is continually getting new data that is time aware and thus should update the feature service's published time extent or "Max Time" to match the newest data's "Submitted Date" value. Within the feature service's properties it lists that the layer is "Time Aware", has "Live Data", and describes the time extent (see attached for details on feature service's time proprieties from rest endpoint).
You can also see the properties of the featureclass layer in ArcMap prior to publishing in the attached images.
This issue persists through to ArcGIS Online where I am trying to display my data. Using a web map, the data is "time enabled" so that a time slider is used. When a new feature is added the time slider's properties "End Time" (found in the Time Settings of the time slider) does not update. The only way update the "End Time" is to disable time animation on the layer and then re-enable time animation.
I have tried many different combinations of properties both on the feature service's properties as well as on the layer in AGOL and I have not been successful in resolving this issue. I am looking for guidance on this issue or further troubleshooting.
Where are you displaying the data? in a web map or web app?
For live data, check out this web application that doesn't require you to update the time extent when you data updates:
Currently this feature service is being utilized in a Crowdsource Manager application and as such the application is being fed by the web map. The basic configuration is:
Published feature service that is time aware from ArcGIS Server -> AGOL feature layer with credentials stored in the layer -> AGOL feature layer added to web map, layer's time animation enabled -> web map used in Crowdsource Manager application.
I was doing some additional testing yesterday and I found that after a new data point is added and the service restarted, the time extent in the service properties would update, but not still not in the web map/web app. Again the time extent would only refresh in the web map/web app if I disabled time animation and then re-enabled it.
This is by design. The Time Slider properties are stored within the web map when the map is initially saved. The web map does not detect the time ranges or updated values of the contained services. To update the time properties of the service within a web map, manually update the time properties within the web map, or add the service to the web map again, and save it.
There are two apps that dynamically update the date/time extent. Check out this blog for details about the configurable app:
Web AppBuilder Widget (time span setting):
Same issue, running 10.4 Portal. I checked the help documentation on the widget, the language changed at 10.7, so I don't think the end date updates automatically in previous versions. Always improving.