How do I disable the ability to create duplicate records? RRS feed

  • Question

  • I have a custom entity that I would like to disallow duplicate creation on and I'm not sure if there is a way to do so.  I've setup a duplicate detection rule to look at the primary attribute of each record being created, and that does work, the problem is that the user can still bypass the possible duplicate detected screen and save the record.  Can I make that screen a hard stop and not allow the record to be created if one with an exact match on the primary attribute already exists?
    Monday, March 9, 2009 8:56 PM


  • Greg,

    The DDR can't prevent user to save the record, you have to use JScript or Pre-create plugins to prevent the duplicate records.

    Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com , http://mscrm.cn
    • Marked as answer by Greg.T Tuesday, March 10, 2009 2:27 AM
    Monday, March 9, 2009 11:31 PM