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
Sharath kanukuntla 23Sharath kanukuntla 23 

create a new contact with the hyper link in Account detail page

I have a custom field with link type,when i click on that link it should allow me to create new conatct,in the conatact that particular account should pop up in lookup field
Varun SinghVarun Singh
Hi @sharhat

Go to setup-->account-->Buttons, Links, and Actions
click on -->Buttons, Links, and Actions
Button or Link -->http://https://varun007-dev-ed.my.salesforce.com/003/e?retURL=%2F003%2Fo&accid={!Account.Id}
you have  to put your domain here insted of varun007-dev-ed.my.salesforce.com
like https://ap1.salesforce.com/003/e?retURL=%2F003%2Fo&accid={!Account.Id}

User-added image

After creating link ---go to account record-->edit page layout--->put yout link in account detial page

User-added image
click on save

Now Go to account record and click  on your link
User-added image
Finally account is already  these in new  contact page
output
User-added image

I hope this is helpfu for you please select my answer as best answer.
Thanks,
Varun
HARSHIL U PARIKHHARSHIL U PARIKH
@Varun Singh
Very good silution!! I was trying to figure this one out but couldn't get it around even though I have done something like this in past.
Again, Good One!
Varun SinghVarun Singh
@ Harshil Parikh AKA:Govind
Thanks