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
wkaikwkaik 

Refresh a record in the console

Hi

 

Does anyone know how to refresh a record within the console view.  The code I have now is:

 

 window.parent.parent.location.replace("/a0Q80000000UmRk"); 

 

However that takes you out of the view of the console and back to the record in its regular object view.

 

Thanks,

BK

Best Answer chosen by Admin (Salesforce Developers) 
werewolfwerewolf

If you're just refreshing the current record then try just location.reload(true).

 

If you're trying to get the console to navigate to a specific record of your choosing then you're out of luck -- it doesn't do that.