0

I need to view record page in Console subtab when I click yhe link in lwc.

1

1 Answer 1

1

Edit: possible duplicate, please see this QA - Alternative to Workspace API for LWC

Console subtab navigation is accessible via the workspace API: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_openSubtab.htm

This is not currently supported in LWC: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/get_started_supported_experiences

You would need to wrap your LWC in an Aura component, fire an event from the LWC, handle the event in Aura and perform the navigation.

Not the answer you're looking for? Browse other questions tagged .