4

I found a way to do it. VF page: <a href="javascript:void(0);" onClick="openCustomSubtab('asdf', 'asdfg');return false;">OpenSubtab</a> Javascript : function openCustomSubtab(id, tabName) { var response = { destinationID: "destId", paramObject: { id: id, tabName: tabName } }; ...


2

You're misunderstanding the basic HTML and JavaScript behind this. <A HREF="https://cs80.salesforce.com/articles/en_US/Procedure/No-Icon/p" onClick="testOpenSubtab();return false"> Click here to open a new subtab</A> This is not meant to OPEN whatever link you have in the href. This is just a link that trips the function testOpenSubtab()then ...


1

Sadly, at this time the native Related List components do not support custom buttons. In fact, they do not support certain standard buttons either: Add to Campaign Send an Email One alternative for you might be to tweak your process: User opens account User opens contact from your sidebar You add a New Case quick-action to your contacts page layout User ...


1

Old thread, but posting this for others unaware of the other solutions in this use case, and some general debugging tips for this type of issue. The method used in the question should work, but is missing some parameters like the callback function for success and the override subtabid (or null if not overriding an existing subtab). This page is also ...


1

I had exact issue and able to fixed, here is the how I did it: source <apex:includeScript value="/support/console/20.0/integration.js"/> <script type="text/javascript"> function testSetTabTitle() { //Set the current tab's title sforce.console.setTabTitle('Lead: {!Lead.Name}'); } var pageLoad = ...


1

Did you try with this: Service console integration toolkit has a method named setTabTitle Ex: <script type="text/javascript"> sforce.console.getFocusedPrimaryTabId(function(result) { // Result.id is the id of tab sforce.console.setTabTitle('Change Title', result.id); }); </script> Reference: http:/...


1

You need to use javascript and the Service Console Integration Toolkit. Specifically, you will need to use the openSubtab method. Here is a sample of what it looks like: <A HREF="#" onClick="testOpenSubtab();return false"> Click here to open a new subtab</A> <apex:includeScript value="/support/console/22.0/integration.js"/> <...


Only top voted, non community-wiki answers of a minimum length are eligible