refreshSubtabById() console method usage from skuid page

  • 1
  • Problem
  • Updated 2 years ago
I have wrote the following code in an inline java snippet to refresh another sub tab, while this page is loading in another tab
sforce.console.getSubtabIds( null, function(result){
		for(i=0; i<result.ids.length; i++){
			var tabId = result.ids[i];
			sforce.console.getPageInfo(result.ids[i], function(result){
					//sforce.console.refreshSubtabById(***id***:String, active:Boolean, (optional)callback:Function, (optional)fullRefresh:Boolean)
					sforce.console.refreshSubtabById(tabId, false, function(result){
						console.log('Contact Tab refresh-->', result);
					}, false);
Code is executing perfectly fine and in the console.log statement it is returning false. While reading regarding the method refreshSubtabById(), understood that this method won't work on external pages and Visualforce page ( 

Does any one have ever implemented a workaround for this. If so, please guide me.

Photo of Dinesh Ramanadham

Dinesh Ramanadham

  • 372 Points 250 badge 2x thumb
  • unsure

Posted 2 years ago

  • 1

Be the first to post a reply!