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
Sudeep SinghSudeep Singh 

How to set a value as default value in a lookup field

How to set a value as default value in a lookup field?

Best Answer chosen by Sudeep Singh
SwethaSwetha (Salesforce Developers) 
HI Sudeep,
Looks like this is not possible. There is an Idea - according to which,

"Work for this type of feature is shared across a few teams, and they're still investigating what it would take from each of them to deliver. As a workaround, however, it is possible to set default lookup values when creating a record via Quick Action. I know that doesn't cover every use case, but it may help alleviate some challenges in this area. I will keep updating this space as we learn more from the investigation. "

If this information helps, please mark the answer as best. Thank you