The following URL custom button is supposed to use a specific record type, which it does, and prepopulate the account lookup field. It is not populating the field whenever I create new record though.

I dont get any errors though.

Tried this (using master lookup field):


Tried this (using master lookup field):


Tried this (using lookup field):


1 Answer 1


There is no direct method to use URL hacks in Salesforce Lightning. You can achieve the functionality using flows and quick actions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy