Skip to main content
I have a button on vf page which clicked opens Contact in a new SubTab.  See below

sforce.console.openSubtab opening a new tab and not overriding the existing tab

Every time a new subatb is openned . I want to overrite the existing tab.

i am passing the SubTabID to override still it is not overriding :

 sforce.console.openSubtab(primaryTabId ,'003/e?retURL=%2F001g000001VnaTA&accid={!ct_SelectedContact.AccountId}', true,

                                     'New Contact', newtabID, openSuccess, null);

newtabID is the ID of the subtab to override
2 answers
0/9000