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
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ) 

Console : Retaining Subtab Icons on refresh

Hi Folks,

We are setting subtab icons using console toolkit methods while opening vf pages in subtabs.
Do we have any mechanism to retain sub tab icons when we refresh the console.

Thanks In Advance !!
Best Answer chosen by Nilesh Jagtap (NJ)
Nilesh Jagtap (NJ)Nilesh Jagtap (NJ)
We got work arround using jQuery.
Here is sample code:
$( document ).ready(function() {
	console.log( "ready!" );
	sforce.console.setTabIcon('/img/myImg.png', null);
        //null enforces to use the enclosing tab’s ID.