function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
madhan bondalapatimadhan bondalapati 

opening an lightning page when we click the button on Standard layout

I want to open an lightning page when we click on the button on Opportunity layout.

One way is create a VF page and embedded the lightning component in it.Is there any other way we can acheive this 
sfdcMonkey.comsfdcMonkey.com
as per my understanding the only way to achieve this, create a VF page and embedded the lightning component
i hope it helps you
Thanks
Extentia ITExtentia IT
Hi Madhan,
If you are using Lightning Experience in your org, it is difficult to redirect or open the Lightning Page through a click of a link or a button on any standard page. You can instead create and use a Lightning Application for a redirect. You don't get the URL for the Lightning Page in the Lightning Experience UI but you will get URL for the Lightning Application. The URL will look like – "https://{your org instance name}/one/{lightningApplicationName}.app". You can also pass query string parameters to the app by adding attribute name and values. The application URL with query string parameter will look like – https://{your org instance name}/one/{lightningApplicationName}.app?{AttributeName}={AttributeValue}. If you are using the classic experience, you can use Lightning Out to load your Lightning components inside the Visualforce page which then can then be opened through a click of a link or button on the standard layout.
Thanks,
Extentia