[SalesForce] How to open lightning component tab from lightning quick action instead of lightning modal

I have build a simple lightning component something like :

<aura:component implements="force:appHostable,flexipage:availableForRecordHome,force:lightningQuickAction">
   Hello World
</aura:component>

I have added a lightning action for this page on record home page, let say to be on "Account"

Whenever I click on that lightning action from any account record, it open lightning component in lightning modal. Is there any way to redirect user to standalone "lightning tab" like page instead of lightning modal?

Best Answer

I managed to open the lightning component in as a tab instead of the popup by using a small component which will redirect to the main component.

You can use the force:navigateToComponent event on init to navigate to your main component.

Related Topic