(This might just be a documentation update idea)
I’m using Skuid to make a Lightning Utility Bar Item as referenced in Salesforce Lightning — Skuid v16.1.9 Documentation
That page warns that utility bar items don’t refresh automatically, and you should add a refresh button to the skuid page. I was using the utility bar to select a ‘current campaign (donation posting batch)’ where the user would be posting donations. I wanted the bar to show counts as they worked on the batch.
I initially used the refresh button as suggested, but then tried using the Skuid event action sequence. It works well!! Go skuid.
When I edit the campain(posting batch) I have an action to publish an event that a posting batch was updated. (to all Skuid and Lightning pages). The utility bar page listens for that event, and requeries its models. So it’s always up to date.
My question, such as it is, is is this a good way to do this? I presume it’ll be as reliable as anything else skuid/lightning.
Also, perhaps the documentation page could be updated to suggest using published events to update the utility bar, vs an ‘after the fact refresh-button’. When I first bumped into the doesn’t refresh the utillity bar page when it’s opened, I was bummed.