See the Problem Solver of the Month for DecemberCongratulations to Ievgen Miroshnikov for be selected in a random drawing on Jan. 2 for in our monthly Dynamics 365 Community Problem Solver Sweepstakes.
Read aboug Ievgen | Learn how to enter
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Is it possible to create a Duplicate Detection job that will actually prevent a duplicate being created, instead of prompting when one is about to be created?
I would make the suggestion that you use a plugin (pre-operation) on the create message and throw an InvalidPluginExecutionException where your criteria is met. e.g. If a contact has the same email as another prevent the create, and with the IPEE you can show the user a custom message.
On the user interface, if there is an duplicate, it will prompt it to the user, no way to skip this. For Import data, it would skip the data if it occurs a duplication.
If you want the system to prevent creating duplication, then writing plugin would be the best option.
I would suggest using a combination of the OOB duplicate detection feature along with the plugin or custom workflow.
This approach will help us to change the duplicate detection rule at any point even in the future as per business requirement and may not require a developer to make those changes directly in the code. I hope that helps !!!
On the UI, it won't actually restrict unless you do. However, if you are doing an Excel import the Duplicate Detection Rule in place will indeed prevent the records from being created provided you select to follow the Dup Detection rules on Import explicitly as well.
Otherwise, as suggested above, best bet is to use a Pre-Create Sync plugin to do the needful.
Hope this helps.
Please see if the alternate key meets your needs.
After creating an alternate key, once a duplicate is detected, an error message pops up, which does not allow you to ignore this duplicate.
Thanks for bringing this up as well.
I've also blogged about the same.
TedW, kindly refer the same if this helps you - d365demystified.com/.../
Once you get the answer, don't forget to close this theme by clicking Yes under the title.
It will help other users quickly navigate to this theme.
Business Applications communities