Enabling primary keys to restrict duplicates

0
Hi All, Is there a way to make an ettribute primary key enabled in order to restrict the dupliacte records ? If not how can we avoid duplicate entries in case of mendix?   Thanks a lot.   Best Regards, Anusha Kasi.
asked
1 answers
3

Hi Anusha,

 

the easiest way to do so is to open the domain model and add a validation rule to make the attribute unique (see screenshot below for an example). 

 

Kind regards,

 

Joost

answered