Methods for Application-Level Custom Console Components

Custom console components let you customize, extend, or integrate the footer, sidebars, highlights panels, and interaction logs of a Salesforce console using Visualforce, canvas apps, lookup fields, or related lists. Administrators can add components to either:

  • Page layouts to display content on specific pages

  • Salesforce console apps to display content across all pages and tabs

  • addToBrowserTitleQueue()

    Adds a browser tab title to a list of titles, which rotates every three seconds. This method is only available in API version 28.0 or later.

  • blinkCustomConsoleComponentButtonText()

    Blinks a button’s text on an application-level custom console component that’s on a page. This method is only available in API version 25.0 or later. This method isn’t supported in Lightning Console.

  • isCustomConsoleComponentPoppedOut()

    Determines if a custom console component is popped out from a browser. To use this method, multi-monitor components must be turned on. This method is only available in API version 30.0 or later.

  • isCustomConsoleComponentWindowHidden()

    Determines if the application-level custom console component window is hidden. This method is available in API versions 25.0 through 31.0.

  • isCustomConsoleComponentHidden()

    Determines if the application-level custom console component window is hidden. This method is available in API version 32.0 and later. In API version 31.0 and earlier, this method was called isCustomConsoleComponentWindowHidden().

  • isInCustomConsoleComponent()

    Determines if the page is in an application-level custom console component. This method is only available in API version 25.0 or later.

  • onCustomConsoleComponentButtonClicked()

    Registers a function to call when a button is clicked on an application-level custom console component. This method is only available in API version 25.0 or later.

  • removeFromBrowserTitleQueue()

    Removes a browser tab title from the list of titles, which rotates every three seconds. This method is only available in API version 28.0 or later.

  • runSelectedMacro()

    Executes the selected macro in the macro widget. This method is only available in API version 36.0 or later. This method isn’t supported in Lightning Console.

  • scrollCustomConsoleComponentButtonText()

    Scrolls a button’s text on an application-level custom console component that’s on a page. This method is only available in API version 25.0 or later. This method isn’t supported in Lightning Console.

  • selectMacro()

    Selects and displays a specific macro in the macro widget. This method is only available in API version 36.0 or later. This method isn’t supported in Lightning Console.

  • setCustomConsoleComponentButtonIconUrl()

    Sets the button icon URL of an application-level custom console component that’s on a page. This method is only available in API version 25.0 or later.

  • setCustomConsoleComponentButtonStyle()

    Sets the style of 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. This method isn’t supported in Lightning Console.

  • 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.

  • setCustomConsoleComponentHeight()

    Sets the window height of an application-level custom console component that’s on a page. This method is available in API version 32.0 or later.

  • 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().

  • setCustomConsoleComponentWidth()

    Sets the window width of an application-level custom console component that’s on a page. This method is available in API version 32.0 or later.

  • setCustomConsoleComponentPopoutable()

    Sets a custom console component to be popped out or popped into a browser. To use this method, multi-monitor components must be turned on. This method is only available in API version 30.0 or later.

  • 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.

  • setSidebarVisible()

    Shows or hides a console sidebar based on tabId and region. This method is available in API version 33.0 or later. This method isn’t supported in Lightning Console.