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
PrakkiPrakki 

How to change lookup relation to another object..??

Dear Folks,

 

I am having a field called Name currently it linked up with an Account object by a lookup relationship.

 

Now the requirement is i should have to change this lookup to contact. 

 

Can you please let me know how to solve this problem????

 

Thanks in advance.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
Madhan Raja MMadhan Raja M

Hi Prakki,

 

Once an object is assigned to a lookup we cannot reassign to an different object. Delete the Name(Account) lookup and create a new lookup with Contact object.

 

Madhan Raja M