+ Start a Discussion
Jennifer LaingJennifer Laing 

Custom Link in Lightning which Pre-populates Fields


I am trying to add a custom Lightning link to an Opportunity record.  The link successfully opens the custom object record page however, I need the Account Name and Opportunity Name to be autopopulated.  How can I achieve this in the formula?  This is the formula I currently have - which does not autopopulate the fields:

I don't think so it will work since URL hack is not supported. Check this - https://success.salesforce.com/answers?id=9063A000000iW67QAE
Dushyant SonwarDushyant Sonwar
Hi Jennifer ,

You can set Predefined values using Lightning Quick Action . 
Below url will help you how to create a quick action with predefined values.

Hope this helps :)