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.
If this method is called from a popped out component in a Salesforce console where multi-montior components is turned on, nothing will happen. Starting in API version 32.0, this method is no longer available and has been replaced by setCustomConsoleComponentVisible(). For more information, see setCustomConsoleComponentVisible().
| 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. |
| Name | Type | Description |
|---|---|---|
success | boolean | true if setting the button window visibility was successful; false if setting the button window visibility wasn’t successful. |