Unique Attribute for Entity

Unique Attribute for Entity

  
hi,

I am developing a entity with "Code" attribute is unique value requested. In general SQL we can set Unique=true in property. However, I can't find the same property for Entity in OutSystem,

Alternative solution is implement Business rule check, It it will take some extra effort . is there any way to setup the unique attribut directly in entity editor? Please advice. thanks for your help.

Regards
Truong

Yes, there is.

If you double click your entity you'll get an advanced entity editor. There you can setup indexes for your entity's attributes. These indexes can be setup to implement the "unique" constraint.
Thanks, I have found  and applied it already .