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

Opening a Visualforce Page in Service Cloud Console

I want to open a Visualforce Page in Service Cloud Console through CTI Adapter, but when I pass the page URL the page opens outside the console and not in a new tab in Service Console.




For the console, links have to be modified to open primary and subtabs. See this blog on how to open tabs -


Note how the srcUP call is used with the following JavaScript -

if (typeof(srcUp) == 'function') {
    srcUp('{!SUBSTITUTE( Case.Subject , " ", "+") }');
} else {'{!SUBSTITUTE( Case.Subject , " ", "+")}');


That should do the trick.