+ Start a Discussion
Dany Rouss 9Dany Rouss 9 

Service Cloud Console srcUp method

Hello,

I have a list button that executes the below javascript function to open a new subTab in console :

if(sforce.console.isInConsole()){
    srcUp(url);
} else {
   window.location.href = url;
}


The problem is when in console when i click the button it redirects me to salesforce classic page for like 2 seconds and then go back to console application.

Note : My user is a service cloud user.

Thank you.

 

priyanka.mv26priyanka.mv26
Hi Dany,

Please try this and let me know if it works for you or not, I had the same issue but the below solution fixed it. 

if(sforce.console.isInConsole()){
    srcUp(url+'?isdtp=vw');
} else {
   window.location.href = url;
}