I saw a similar question asked here (but that was not answered )
I have a similar request. I have a LWC component which needs to be added as a button/action on the Lightning record page, on click of that button, the LWC should open a separate tab or on the existing tab. However if I use target as below in LWC, it opens the LWC as a modal
<targetConfig targets="lightning__RecordAction">
<actionType>Action</actionType>
</targetConfig>
All I am looking is:
- Create a action for the LWC component - Working
- add that action to the lightning record page - Working
- On click of that action, the lwc must open as a new tab or open within the existing tab - Not Working (opens the lwc in a modal)
Appreciate the help..