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
anvesh@force.comanvesh@force.com 

please correct this URL for button ?

I have created a button for opportunity and added this button under  contact related list. So when we click  'New Opportunity' button  from contact related list it opens new opp page by populating some values and when we save it saved. But the problem is those records were not visibled in the contact related list. why ? please verify......



/setup/ui/recordtypeselect.jsp?ent=Opportunity&
CF00N40000002fEB2={!Contact.Name}&CF00N40000002fEB2_lkid={!Contact.Id}
&save_new_url=%2F006%2Fe%3Flookupcmpgn%3D1%26&accid={!Account.Id}&retURL={!Contact.Id}
HaiderRaza77HaiderRaza77
Add &conid={!Contact.Id} to your url