Is there anyway to dynamically configure the starting dates for the date picker component. Currently in my experience it will always show the last date used in designer. It would be great to be able to configure it to initially show current date time -6 hours.
You can bind the
value property of the date picker to an expression and set it up with the expression:
dateArithmetic(now(0), -6, "hour")
This subtracts six hours from the current time and sets that as the value. The date picker can still be changed by the user since
now(0) never refreshes unless the binding is refreshed by a page load or the component’s
refreshBinding scripting function.
Setting the polling to 0 was what I had missed previously. Thanks!
Thank you so much!