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
Meredith Mitchell 8Meredith Mitchell 8 

Is it possible to create a new lead button URL on the opportunity object and relate the opportunity to the new record?

sagarika bsagarika b
Hi Meredith,

Yes, it is possible, for creating custom Button link on opportunity object please follow below steps.
  • Click on setup---> Goto Customize--> Select opportunity object--> Click "Buttons, Links, and Actions" --> Click on  "New Button or link" 
  • Please refer below image onceUser-added image 
  • Now Just Add This Button to page layout, Just refer image onceUser-added image
After creating a Lead record, we need to convert that record. 

Hope its Helps you.

BestRegrads
Sagarika