platformWorkspaceApi EnclosingTabId Throws "n.connect is not a function" Errors #921
Closed
1 task done
Labels
bug
Something isn't working
Summary
Using the sample workspaceOpenSubtab component found in this repo, "n.connect is not a function" errors are thrown
Salesforce Org Type
Sandbox
Steps To Reproduce
Steps to Reproduce
I've created a repo with the code I am using at this link.
I've gone into my personal Sandbox and created a new custom object, EnclosingTab__c.
Current Behavior
"n.connect is not a function" error is thrown when attempting to use the EnclosingTabId method imported from lightning/platformWorkspaceApi
Expected Behavior
EnclosingTabId should provide the Id of the tab the component is loaded on
Relevant Log Output
Code of Conduct
The text was updated successfully, but these errors were encountered: