Shouldnt create/add the record if its already exists with same name
Hi everyone, Created project entity(attribute: ProjectName) and added data grid in the page then selected the same entity. And when iam trying to add the project it’s working fine. But here the condition is while creating shouldn’t allow duplicate value into the list. So when iam trying to add the project name(if same entry/name which is already created) message should show like “already project is created with this name. please try with different name.” once i click on save button in the add popup. TIA
Tejesh Kumar Kota
Create a Validation Rule “Unique” for the ProjectName attribute in the domain model
An error occurred while initializing the Runtime: Detected unique constraint violation [entity: Administration.Project, attribute: ProjectName] For more information on migration, please refer to the Mendix Uniqueness Constraint Migration guide at https://docs.mendix.com/refguide/uniqueness-constraint-migration.