Hi,
there seems to be conflicting information in documentation and community posts regarding Dataverse handling of unique keys at the database level.
I have created a table
- with a primary name column = Name
- with a key on Column = Code
I have set up a duplicate detection rule on Code column.
Using Powerapps or Dataverse form to enter data I can enter multiple records with the same code and also the same name
eg
Code=FONS; Name=AAA
First record saves as expected. On saving the second (and beyond) i get a message that a duplicate has been detected with an option to ignore. If I ignore I can store duplicate records in Dataverse.
Is this expected behaviour that I need to code around in PowerApps (and also APIs?).
thanks,
Jon