#dynamicscrm365

Posts tagged with this topic.

Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)

Oct 29, 2022

Last week I posted about "Dataverse: Create Console For Debugging Plugin Code" and the author of the great FakeXrmEasy - Jordi Montaña Vázquez mentions about XrmRealContext which can simplify last week's solution (for those who don't know FakeXrmEasy, it is a Unit Testing...

Model-Driven-Apps: How to use setIsValid method

Sep 10, 2022

When dealing with client script customization, most of the time we are dealing with data validation where the common steps are like the below snippet: var blog = blog || {}; (function() { this.formOnLoad = function(executionContext){ var formContext =...

Create Field Security Profile Programmatically in Dataverse

Jun 18, 2022

Recently, my friend (Low Ming Hua) told me about an interesting scenario related to the Field Security Profile. He needs to enable lots of attributes and set the Field Permission to specific teams (he also shared with me his code and I modified it!). For those who don't know, we...

Dataverse: Create GetLastDateOfMonth Function in Custom Connector

Apr 9, 2022

Do you know we can write Code (Preview) in Custom Connector? In this blog post, we will make a simple function that will return the last date of the month to try the feature. Without further ado here are the steps! Go to make.powerapps.com > Dataverse > Custom Connectors > on the...

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: 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...

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,...