1

How to open LWC in new tab on click of quick action?

If I click on a quick action, then that should LWC redirect to a new tab like in the attached image:

enter image description here

1
  • 3
    welcome to SFSE, you can not make quickaction as separate tab you can achieve button action.
    – sdandamud1
    Commented Feb 28, 2022 at 13:04

1 Answer 1

2

I can't perfectly understand what you are saying . But from my understanding to open a new tab we can use window.open() in Javascript. We can specify the URL there . Also to open a Salesforce url we can use NavigationMixin.GenerateUrl

Have a look at these links:

https://www.w3schools.com/jsref/met_win_open.asp

Lightning navigation new tab

You must log in to answer this question.

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