Skip to main content
I'm using setCustomConsoleComponentButtonText to change the text on the Phone and it works when the containter is docked.  After the containter is undocked it stops working.

Is this a limitation the method when the container is undocked?
2 answers
  1. Mar 25, 2020, 5:16 PM
    Swetha,

    It's a pretty simple method where I get the text that I want to change it to and a check to make sure it should be done.

    setStatusDisplay: function(text){

                if(salesforceSetup && isInConsole && text && text != ""){

                    sforce.console.setCustomConsoleComponentButtonText(text);

                }

            }

    I know the setCustomConsoleComponentButtonText should be getting called as I had a trace statement right before that was being hit so it's not my condition check.

    Thank you,

    Erik Kreigh
0/9000