setCustomConsoleComponentButtonText()

Sets the text on a button used to launch an application-level custom console component that’s on a page. This method is only available in API version 25.0 or later.

NameTypeDescription
textstringText that’s displayed on a button used to launch a custom console component.
callbackfunctionJavaScript method that’s called upon completion of the method.
NameTypeDescription
successbooleantrue if setting the button text was successful; false if setting the button text wasn’t successful.