In Salesforce Lightning, components use the lightning:navigation service's navigate() method with a pageReference object to navigate between pages. For page references of type standard__webPage, the url attribute specifies the external web page URL to open.
In most areas of the Salesforce Lightning app, calling navigate() with a standard__webPage pageReference correctly opens the specified external URL in a new browser tab.
However, when navigate() is called from within a Lightning Quick Action using a standard__webPage pageReference, the component does not open a new browser tab. Instead, Salesforce attempts to navigate to an invalid internal Salesforce URL, and the external page does not load. This is a known gap in the behavior of standard__webPage pageReferences when used specifically within Quick Actions.
Place an HTML anchor tag directly in the Lightning component's markup and set its href attribute to the external URL. This renders as a clickable hyperlink in the Quick Action UI and correctly opens the external page in a new browser tab when the user clicks it.
For example, add an `` element with href set to the target URL and target="_blank" to open in a new tab. This approach does not rely on lightning:navigation and avoids the Quick Action navigation gap entirely.
In the component's JavaScript controller, call window.open() with the external URL as the argument. Invoke this method from an action handler (for example, bound to a button click event). This programmatically opens the external URL in a new browser tab, bypassing the lightning:navigation limitation within Quick Actions.
000389094

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.