Skip to main content

Hi!

 

As many of you might be aware of, a known limitation of Salesforce list views is that it does not automatically refresh, and if you want to know if there are new or modified cases that fulfill the list view cnditions the user needs to manually click a Refresh button (as always, there's an Idea for this).

 

The most common workaround is probably the Salesforce Grid Refresher. However, we didn't want this issue to be dependent on the users installing an app (I can barely teach a user to find the correct list view, I'd rather not try to teach them how to install browser extension apps).

 

Luckily, there's this brilliant post by @Josip Juric👏 out there: Auto-refresh Case List Views in Salesforce Lightning Service Console Apps (I'm just assuming I tagged the right Josip here).

In this post, you see how one can use an Aura Component in the Utility Bar to trigger an automated refresh of a list view.

 

We implemented this a couple of months back, and it's been working splendidly, however, it seems to have stopped working following the Winter '25 release. My assumption is that this is due to the latest performance enhancements for List Views (Get Better Performance for List Views on Custom and Standard Objects).

 

I've done some debugging, and the component still runs as expected, and will on frequent intervals call navigationItemAPI.refreshNavigationItem() (refreshNavigationItem() for Lightning Experience | Salesforce Console Developer Guide | Salesforce Developers). But even though the response is true, nothing happens with the list view.

 

Anyone experiencing the same issue and know a fix? 😊

 

@* Salesforce Developers * @* Release Readiness Trailblazers * @Serviceblazer Community Group #Aura Components

5 Antworten
  1. 20. Nov. 2024, 18:41

    Yes, we had the same problem. We had recently enabled Sort List Views by Multiple Columns (Beta) in our org. I just disabled it, and the aura component is now working again.

0/9000