tips

Posts in this category.

Dataverse: Duplicate Detection Rules vs Keys

Mar 25, 2022

There are several ways to make your Dataverse data as clean as possible. Out of the box, you can create alternate keys or you can implement Duplicate Detection Rules. Or you can implement Custom Validation on the Plugin to achieve more dynamic conditions (you can write any...

Dataverse: Improve Performance using Partition Key

Mar 19, 2022

Do you know we can pass the partitionID parameter when doing CRUD to improve performance? The information I got from this documentation link. Today we will prove how what is the difference between using the partitionID and not using it. To collect the data, I'll run below code:...

Dataverse: Share Record Access

Mar 12, 2022

I have experienced the scenario where the Organization wants to implement strict record management where the requirement was to limit access based on the team. For example, if the owner of the record is Team A, the other Teams can't interact with it unless one of the members of...

Dataverse: Four Ways to Bypass PluginExecution in CrmServiceClient

Mar 5, 2022

There is always a scenario in your organization that requires you to bypass PluginExecution (can be workflows or plugins) when doing CRUD (Create, Read, Update, or Delete) operations. Today, we will learn how we can do it in several ways. For this demonstration, I create a...

Create a WebJob to Ensure Cache is Valid

Feb 26, 2022

Caching is one of the operations that we always do when building software. We put an object that will be faster to be retrieved to improve the performance of our software. But likewise, because it is a Software Architecture. Choosing one side will always have risks. If the system...

Dynamics CRM: Implement Retry Policy using Polly

Feb 19, 2022

Lately, I'm still actively thinking about designing a system that also considers error-proofing as part of the feature. For example, we want to ensure the transaction that we will execute is successful in 3 times execution. Meaning, we need to implement a retry policy that Polly...

Dynamics CRM: To Set or Not To Set MaxConnectionTimeOut CrmServiceClient?

Feb 11, 2022

Do you ever wonder when using CrmServiceClient, why there is a setting for extending the MaxConnectionTimeOut? In my current company, I have faced a timeout issue when CRM process ExecuteMultipleRequest that contains 1000 of data. One thing that I know based on the return error,...

Dynamics CRM: addOnLookupTagClick and removeOnLookupTagClick

Feb 5, 2022

Today we will learn simple methods that are related to the datatype lookup on CRM: addOnLookupTagClick and removeOnLookupTagClick. Basically, addOnLookupTagClick is a function to register an event when the user is clicking the lookup tag value. Click the Lookup Tag value From the...