Quick search leads to two solutions: coding (event receiver) or InfoPath rule.
The cost of "coding" is high. We need developer to build it, need someone to manage the source code, and need to upgrade the assembly when upgrading SharePoint. And, the deployment will cause farm outage!
InfoPath solution also has its own problem: it is always with expensive "license" fee.
So, is there simple approach to resolve the problem? Below is how I did it, with a simple declarative workflow.
The workflow doesn't prevent "duplicate entries", but can generate warning message, so users can fix the invalid data after the remind. That's good enough in most of the cases.
- The structure of the test list (CombinedKey = Title & ProjectCode)
- Declarative workflow triggered by "new item" and "edit item" event
- Test result
THANK-YOU so much for taking the time to create this easy-to-understand post!
ReplyDeleteEric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download Now
Delete>>>>> Download Full
Eric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download LINK
>>>>> Download Now
Eric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download Full
>>>>> Download LINK 2L
please could you elaborate on this, its the only post I have found that does what I need but returns its own item ID instead of the duplicate items ID.
ReplyDeleteThank you for sharing this information. I find this information is easy to understand and very useful. Thumbs up!
ReplyDeleteE-Learning
this only see's the current item, it doesn't see the prior items in the list.
ReplyDeleteCould you assist with how we can get this to do what you show , as there must be some Workflow code missing.
ReplyDeleteEric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download Now
ReplyDelete>>>>> Download Full
Eric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download LINK
>>>>> Download Now
Eric Fang'S Sharepoint Boat: How To Stop Duplicate Entries Based On Two Or More Columns In A Sharepoint List? >>>>> Download Full
>>>>> Download LINK US