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

Open External URL using Lightning component
I am trying to create a lightning component which has URL (for example: www.google.com) and when clicked on the hyperlink, A new window opens up for the link. Please suggest on how can this be achieved in Lightning.
In Lightning force:navigateToURL opens new tab for external URLs if you want to open in new tab you can use navigateToURL
in case you want to open in the same tab you need to use standard javascript as
I hope this will help you
Regards
Ashif
Thank you!
If it helps you. You can close the question so it can help others.