You need to sign in to do that
Don't have an account?

How to open Lightning component in new tab or window
I have linked my lightning component with Quick action button,
but width of that pop-up has fixed width, my requirement is I want full screen to be acquire by that component.
through mew window or new tab,
How should I achieve this
but width of that pop-up has fixed width, my requirement is I want full screen to be acquire by that component.
through mew window or new tab,
How should I achieve this
You can manage 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.
For more information may I suggest you please check with below link from the community which will help you to put forward in right direction.
- https://salesforce.stackexchange.com/questions/158244/how-to-open-lightning-component-tab-from-lightning-quick-action-instead-of-light
Hope this helps.Thanks,
Nagendra
Sagar,
By doing this approach, the COmponent is opening in the same tab. Can we open it in a new tab?
Thanks,
Chellappa
Did you find the solution for this? I too have a similar requirement where on the click of button i am redirection to the new lightning component using e.force:navigateToComponent. But i want this new component to open in a new window.
I have a similar requiremnt to open the lightning component in a new tab, tried with e.force:navigateToComponent(redirecting to the same modal popup). Could you share me your approach/solution if you have the same? Many thanks in advance
Thanks,
Hemasri
Hi Sagar,
You can do this way,
Button component :
Target Component: Please select as best answer if this solves your issue.
Did you get any solution for this?
Lightning Component: Controller (to open pop-up window): Controller (to open new browser tab):