1<apex:page>
2
3 <A HREF="#" onClick="testSetCustomConsoleComponentButtonText();return false">
4 Click here to set the text on a button used to launch a custom console component</A>
5
6 <apex:includeScript value="/support/console/58.0/integration.js"/>
7 <script type="text/javascript">
8 function testSetCustomConsoleComponentButtonText() {
9 //Change the custom console component button text to 'Hello World'
10 sforce.console.setCustomConsoleComponentButtonText('Hello World');
11 }
12 </script>
13</apex:page>