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
Tolga ZerenTolga Zeren 

"New" Button That Opens Lightning Component

I have a custom Lightning Component to edit Orders. Is it possibe to open this component from standard Order Detail Page by clicking Edit Button? When user clicks edit button my component should open like a popup and when user click save button it should go to previous standard page.
Piyush Kumar 58Piyush Kumar 58
Hello Tolga ,

You can achive this by overiding standard edit button with Visualforce page.
First create a visualforce page through wich open your lightning component  then override this viualforce page to Standard edit button.

Thanks.
Piyush Kumar