We have added the built-in Calendar screen inside our Canvas app:-
the issue is that the Calendar will not get updated events unless you refresh the page.. so i create a timer which triggers each 5 minutes with , with auto start =true+ auto pause = false and the following formal inside the OnTimerEnd:-
but the timer is not refreshing the events.. any advice?
Also i tried this approach but it did not work:-
I have the following formula inside the Gallery Items property:-
and inside the timer, i am Refreshing the collection:-
but this also will not auto-refresh the events when the timer ends.. not sure why this is not working for me?
Solved! Go to Solution.
Hi @johnjohn123,
Could you please tell me that how you configure the Timer control, do you set its Repeat property?
Generally, if you want a Timer to trigger the auto-refresh, you should set the following properties:
1). Set the OnTimerEnd property, type:
<Your ClearCollect()>
Swap YourDataSource with your collection name in the Gallery Items.
2). In the Timer properties panel, toggle the Repeat and AutoStart properties on.
3). Toggle the AutoPause property off.
4). Set the Duration to 300000. (The duration field is in milliseconds. 300000ms = 5 minutes.)
Hi @johnjohn123,
Could you please tell me that how you configure the Timer control, do you set its Repeat property?
Generally, if you want a Timer to trigger the auto-refresh, you should set the following properties:
1). Set the OnTimerEnd property, type:
<Your ClearCollect()>
Swap YourDataSource with your collection name in the Gallery Items.
2). In the Timer properties panel, toggle the Repeat and AutoStart properties on.
3). Toggle the AutoPause property off.
4). Set the Duration to 300000. (The duration field is in milliseconds. 300000ms = 5 minutes.)
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
215 | |
180 | |
138 | |
96 | |
82 |