+ Start a Discussion

Unique Value



I have created a custom object which has a standard field First Name (name) with the datatype Text and i want to make this field to be unique and the value entered in this field should not be repeat. Can anyone tell how to achieve this functionality.





The Standard feild Name that you are talking is Record Name  which is the name of the object that is displayed on Page Layouts list views,Related lists,Lookup Filters and Search results.It is a mandatory field and cannot be removed from pagelayout .It can not be made unique but can change type to text or Auto-Number.


You have to define custom field of Text datatype and make it unique.