Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

SuppressDuplicateDetection on update

$
0
0

We would like to have duplicate detection fire only on create. For this, we registered a plugin on all the required entities with the following code. 

if (ctx.Context.InputParameters.Contains("SuppressDuplicateDetection"))
{
ctx.Context.InputParameters["SuppressDuplicateDetection"] = true;
ctx.Context.InputParameters["CalculateMatchCodeSynchronously"] = true;
}


The code executes but does not stop the popup of duplicate detection from being displayed. Any help or thoughts on this issue? 


                if (ctx.Context.InputParameters.Contains("SuppressDuplicateDetection"))                {                    ctx.Context.InputParameters["SuppressDuplicateDetection"] = true;                    ctx.Context.InputParameters["CalculateMatchCodeSynchronously"] = true;                                    }


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>