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
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