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
Rohith Kumar 98Rohith Kumar 98 

How to create a custom button in Contract record page?

How can I create a custom button in the Contract record page and on click of that button I need to navigate to an LWC (Lightning Web Component)
mukesh guptamukesh gupta
Hi Rohit,

As per your prevous comment, you need to remove existing LWC compoent and create again , make Action type should not chnage after creation.

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh 
AbhinavAbhinav (Salesforce Developers) 
CHeck this blog stating

How to create a custom button on record page in Lightning Experience Salesforce

https://webkul.com/blog/how-to-create-a-custom-button-on-record-page-in-lightning-experience/

Thanks!