1

I am trying to convert a detail page button which sets the default value through the Link URL to the lightning. enter image description here

In the lightning it doesnt work setting the default values (in my other post it was said that this feature will be available in Lightning in the Spring'20 release and suggested the work around can be Quick Actions. I tried the quick Actions but the issue is I cannot set the default values for the lookup fields

enter image description here

Is there any other way I can approach this using VisualForce Page/ Lightning Component. I am new to Salesforce and Any help is greatly appreciated.

0

Lookup field is a reference field. You can set default value by using AccountId instead of Account.Name. Just change your formula from Opportunity.Account.Name to Opportunity.AccountId

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.