You need to sign in to do that
Don't have an account?
Ankur Srivastava
Pre populate lookup lightning component
I have used the Lookup lightning component in my VF page using the one mentioned here.(http://meltedwires.com/2015/10/31/salesforce-lightning-lookup-component-v2/). It's working fine. But I want to pre-populate that with the current Account Name on load. Can anyone tell me how that can be done ?
First you should get the currrent accountId from the url using the in lighning application. thn send the id of account in the component in wich you define the code of the lookup. controller
<c:SobjectLookup> ls a lightning component in which lookup code is wriiten. Pass the account id to this component to pre populate the value in the lookup.