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
Matthew Hayes 6Matthew Hayes 6 

Buttons in Lightning

Can someone help me with the buttons below?  I need them to work like they did in Classic and pre-populate the contact when opening from a contact record.  Is that still possible?

User-added imageUser-added image
NagendraNagendra (Salesforce Developers) 
Hi Matthew,

If you are trying to use Js button or Url hack for pre-populating fields from one object to another then this will not support in lighting.

For that Salesforce has given an alternative, you need to develop the custom lightning component that will do the trick. which you can find in below link. Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,
Nagendra
Raj VakatiRaj Vakati
You need to create a lightnign component Quikc action to do this ... there is no way to url hacks in the ligtning experinces