The CRM SDK messages CreateRequest and UpdateRequest support a configuration parameter "SuppressDuplicateDetection" that provides control over whether duplicate detection rules will be applied - see http://msdn.microsoft.com/en-us/library/hh210213(v=crm.6).aspx. However, this parameter is not available through over programmatic means (such as the REST endpoint) to create or update records.
To workaround this, I created a plugin that sets the "SuppressDuplicateDetection" parameter based on the value of a boolean attribute that can included in the Entity instance that is created or updated.
I've posted the source code to the MSDN Code Gallery here
I created this because I had a need to apply duplicate detection rules to entities created via the REST endpoint in CRM 2011.
It may be that this plugin could also be used as a way to revert the CRM 2013 behaviour back to that of CRM 2011, to allow duplicate detection rules to fire on CRM forms. However, I've yet to test this fully; if anybody wants to test it, feel free to do so and make comments on this post. Otherwise, I'll probably update this post if I find anything useful with the CRM 2013 interface.
Monday, 7 April 2014
Subscribe to:
Post Comments (Atom)
6 comments:
I found your tutorial very useful, thank you for sharing this :)
I've just started discovering Microsoft Dynamics CRM, but previously I was working with microsoft dynamics ax solution.
Awesome article to nice sharing. Training and certification on courses helps you to study this technology in future.
Oracle Fusion Financial Training Institute
I found your blog has very interesting topics,thanks for sharing such an interesting information with us. Erp tree provides best oracle fusion SCM online coaching globally.for more info call us.
oracle fusion Scm training in Hyderabad
Your posts about Microsoft Dynamics are amazing! It's very interesting! Please, continion your job, you are helping people who just start and also helping me :) For me it's just beginning how to use Microsoft Dynamics AX and it's exactly what I needed! learn more thank you!
Thanks for sharing
We are the best piping design course in Hyderabad, India. Sanjary academy Offers Piping Design Course and Best Piping Design Training Institute in Hyderabad. Piping Design Institute in India Piping Design Engineering.
Piping Design Course
Piping Design Course in india
Piping Design Course in hyderabad
Such a great post i think author of this site is good writer. keep writing
Download and install or reinstall office setup on a PC or Mac.
Steps to Install Office Setup using office.com/setup · Go to office.com/setup for Office Setup · Sign In to your Microsoft Office Account · Find your Office
Go to www.office.com/setup for Office Setup. Sign In to your Microsoft Office Account.Find your Office Product Key.Enter your Microsoft Office Product Key.
Officecom is a way where you can save you file in OneDrive and you can share and update online.
Post a Comment