Contents
How to open Lightning out component in subtab in console?
How to open lightning out component in subtab in console 1 Generates a user-friendly URL for your tabs. 2 Opens an Aura component as a subtab, even if called from a utility, a hover, or another page. 3 Allows a mechanism to conditionally open a given component more than once or redirect to an already open workspace or… More
What does the workspaceapi component do in Lightning?
This component allows you to access methods for programmatically controlling workspace tabs and subtabs in a Lightning console app. In Lightning console apps, records open as workspace tabs and their related records open as subtabs.
How to create lightning console in Salesforce App?
Opens a subtab within a workspace tab. If the subtab is already open, the subtab is focused. This method works only in Lightning console apps. The ID of the workspace tab within which the new subtab opens. Specifies the pageReference to open. pageReference is optional. Specifies the record to open. recordId is optional.
How to open aura component in subtab in console?
Opens an Aura component as a subtab, even if called from a utility, a hover, or another page. Allows a mechanism to conditionally open a given component more than once or redirect to an already open workspace or subtab using the uid parameter.
How can I override a subtab on a primary tab?
Opens a new subtab (within a primary tab) that displays the content of a specified URL, which can be relative or absolute. You can also override an existing subtab. Use to open a new subtab on a primary tab via the primary tab’s ID.
What to do if there is an error opening a tab?
If there’s an error opening the tab, the error code is reported in the JavaScript console. ID of the primary tab in which the subtab opened. URL of the opened subtab. If the URL is to a Salesforce object, that object displays as specified in the Salesforce console app settings.