function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
@Amit Kumar Giri@Amit Kumar Giri 

How to Refresh "Case Detail" Tab in Salesforce Console by a custom button present in Another Tab

Hi Team,

Need some help to figure this out.
>> I have multiple tab opened in a service console.

User-added image
>> first tab is the standard case detail tab.
>> Last tab is a visualforce page and there is a button "Add To Case" in this page. Once i hit this button i want to refresh/reload first tab (case detail). i tried using available console method like getprimarttabId, getenclosingtabid however all this will give me the focus primary tab which is last tab.  
>> Is there a way i can refresh first tab by hitting a button from last visualforce tab ?

Appreciate any help and for your time.
 
Raj VakatiRaj Vakati
You have one way .. i dnt see any other alternative ways 

You have to use the streaming api .. 
  1. From the visualforce page tab publish the data using streaming api fire the push notification ( based on SOQL ) 
  2. Get the Data into the subscribed channel ( Include this push notification subscribed ) in case tab .. once you recived the notification on case tab you can able to refresh the case