• Dany Rouss 9
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

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.