Newer Version Available
setCustomConsoleComponentWindowVisible()
Sets the window visibility of an
application-level custom console component that’s on a page. This method is
available in API versions 25.0 through 31.0. This method isn’t supported in Lightning
Console.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| visible | boolean | true to make the custom console component window visible, false to hide the custom console component window. |
| 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 window visibility was successful; false if setting the button window visibility wasn't successful. |