I have a custom button on Contact page layout. When a user clicks on the button, it takes the user to Change record type page and sends some other parameters in the URL. They select the new user type and are redirected to the Contact record in Edit mode.
The URL looks like
/setup/ui/recordtypeselect.jsp?id={!Contact.Id}&con4={!Contact.Current_Employer__c}&CF00Ni0000001a5jC={!User.FirstName}+{!User.LastName}&CF00Ni0000001a5jC_lkid={!$User.Id}&retURL={!Contact.Id}
where &con4
is the ID for Account field. I am sending the value of Current_Employer__c
on Contact to Account
field.
The value is being copied to Account field, however once the user clicks save. On save I want the Contact to be linked to the account with name in Current_Employer__c
.
However, it retains the previous account record.
If they click on the lookup button on Account, while still in edit mode and select Account, they are able to link to different account.