Newer Version Available

This content describes an older version of this product. View Latest

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.

Syntax

Arguments

Name Type Description
text string Text that’s displayed on a button used to launch a custom console component.
callback function JavaScript method that’s called upon completion of the method.

Sample Code–Visualforce

Response

Name Type Description
success boolean true if setting the button text was successful; false if setting the button text wasn't successful.