How to set a custom Primary Key in custom object
SummaryPrimary Key(Text Field) in custom object
How to set a text field value as a primary key in custom object. For example I have a custom object called "Account" and the text field as "Account Name" as a Primary Key for that Account object. Whenever the Account name is duplicate, it throws an error, it should be an unique value (This will work like a email address field in Contact object)
Is there anyway to achieve the above functionality and it works via API/Workspace level also.
Please advise on this.