Force only DBRs to refresh


#1

There is a method in $tm1Ui - dataRefresh(), which refreshes all elements on a page.
Does it have parameters? Or can I broadcast a message to refresh only DBRs on the page?


#2

Hi @aeremenko,

Any particular scenario why you will need to only update DBRs on a page?

The dataRefresh() does not have a parameter. But if you would like to, you can broadcast: tm1UiDbr.event.refresh to send refresh event to DBRs only.

Just do take note of the possible impact that this may have on your page and test it thoroughly. The recommended way is still through the $tm1Ui.dataRefresh().


Paul