Hi all,
I'm building a canvas page in my model driven app.
Now I want to refresh my dataset with a timer function in my app. Normally not an issue to add that function, but now it's not possible because I can't find the timer in canvas page property. Also not to find when I enabled the classic controls.
Does anyone know how to refresh automatically my collection after 2 hours (without any user interaction)
Kind regards
Hello @dennisb88,
Gotcha, currently there is no TIMER control for Model Driven Canvas CUSTOM PAGE.
And am afraid that there is no Such behavior, because without user interaction, system wont perform any operations.
If it is a custom Model Driven Page, a form load with give you an perfect answer.
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com
Hi,
I don't have that options in my Model Driven Canvas PAGE. I know the timer function is available in a normal canvas app. But I'm talking about a can Canvas Page, that is a little bit difference than an original Canvas App.
Over there I don't have the option to do that. The page (with filters on the page itself that will be set one time at a day by an user) will be showed on a monitor so the trick will be that the collection will be refreshed without touching your mouse.
But I will guess the timer function is not (yet) supported in canvas Pages
Hello @dennisb88,
As per OOB Behavior without user Interaction we cannot Update or Perform any operations in Canvas App, including TIMER Control.
Suggestion:
1. Try Writing or Create Collection in App.OnStart() it will Refresh the Data Each time when User Opens the APP.
2. If not On Visible Property of Screen you can create and Load the Collection.
Also If you want to Find out an Timer Control then
Open the App Click Insert --> Select Timer 🙂 That's it
For Refreshing DataSource with User Interaction You can perform Timer control.
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com
Hi @dennisb88 ,
It is present under Input Control as shown below
Now to refresh the data source , please set below properties
Auto Start ->true
Duration-> 2 mins
On Timer Ends->Refresh(Your Data Source Name);
Repeat ->True
Visible -> false
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: https://xrmdynamicscrm.wordpress.com/
mmbr1606
22
Super User 2025 Season 1
stampcoin
17
ankit_singhal
11
Super User 2025 Season 1