+ Start a Discussion
Dharmendra Kumar 60Dharmendra Kumar 60 

Create a related contact passing AccountId in Url

I am trying to create related conact to an account passing the accountid into the url,url heck doesn't work properly when JS hits the url and opens a new window ' Account name doesn't auto populate in the new contact window in Lightning'.
Something like this :-
https://dharmendraex-dev-ed.lightning.force.com/lightning/o/Contact/new?Accountid=0017F00000C34HOQAZ

Is there any other way to acheive this ?
 Can we create lightning component that takes accountid as input and opens new contact page ? Please guide .

Thanks in advance
-Dharmendra