+ Start a Discussion
Bradley Scott FarquharBradley Scott Farquhar 

How can I type in contact record Id vs their name and save the related object

Currently you can go to a contact lookup on any related object and type in the contacts name, save the object and the contact will be assigned unless there is a duplicate name. Is there a way to type in the contact id and hit save? I would like this process so there will never be any duplicates. 
Suraj Tripathi 47Suraj Tripathi 47

Hi Bradley,

we can write a trigger for this.

If there is already a contact is present and you want to insert same name of contact then throws an error that "this name of contact is present"

It means every contact would be unique

is this work for you?

Thank You