Newer Version Available
setCustomConsoleComponentVisible()
Sets the window visibility of an
application-level custom console component that’s on a page. This method is available in
API version 32.0 and later. In API version 31.0 and earlier, this method was called setCustomConsoleComponentWindowVisible().
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. |