Dashboard refresh

Hi

I have integrated the dashboard addon but am having difficulties with the refresh functionality. I have tried setting both the ‘refresh period’ against the dashboard and also the ‘timer delay’ in the xml of the screen embedding the dashboard but neither actually refresh the screen. To update the dashboard data I need to close the screen and re-open.

Any suggestions of what I’m doing wrong would be appreciated.

Thanks

Hi,

Please subscribe on DashboardUpdatedEvent in your widgets classes

Dashboard widgets will be updated automatically when there is a subscription on DashboardUpdatedEvent in widget controller class or widget controller implements RefreshableWidget interface with the required refresh method.

For example please check event subscription in UserDisplayWidget class in dashboard demo application

Thanks Evgeny. Exactly what I was after and have got it working. Thanks