
Workspace API: How to get Record Id of Enclosing/Parent Tab Hi Folks, I am back with another blog wherein I will discuss how to use Workspace API to get the Record Id of the Enclosing tab. (Basically the parent tab for the current subtab). Specifically in Salesforce Service Console apps when we click on any lookup value then that record's detail page opens in Subtab mode. For example when we click on Account Name from the Account Lookup field in the Case Record Page then we see that the Account Record Page is opened as a subtab under the current Case Record Page Situations can come where we want the Record Id for both the Account Id and the Case Id. We can easily get the AccountId via the recordId attribute. < aura:attribute name = "recordId" type = "Id" /> But how to get the CaseId, this value is present in the parent tab. This blog will give you the answer. Salesforce has provided Workspace API using which we can get this information out. We will dis...