Latest posts
Notes on code and the things I build.
Aug 20, 2022
In Dataverse, we have lots of ways to notify the external system about the changes that happened in Dataverse individually (per row data). We have Azure Aware Plug-in, WebHooks, and we also can write a custom plugin that will call HTTP operations. But in the world of Software...
Aug 13, 2022
With all the crazy changes happening in Power Platform technologies, especially Dataverse/Model-Driven-Apps. We must admit, that the plugin development has not really changed. So I believe most organizations still use plugin projects that created so long time ago and when the...
Aug 6, 2022
For a long time, Developers for Dataverse don't have an official way to use third-party libraries when creating plugin(s). If we want to reuse existing code, the only official way to do it is to use the Shared Project which is limited to the code that we own + the IntelliSense in...
Jul 30, 2022
Today we will learn how to write code for bulk create records (e.g for custom data migrating purposes). I will give two methods (plus with different settings to see if they have positive differences) and compare the time to see the best results. Without further a do, let's go!...
Jul 23, 2022
In this blog post, we will learn how to use ExecuteByIdUserQueryRequest and ExecuteByIdSavedQueryRequest. Functionality-wise, these two functions have the same purpose: querying data from Dataverse and returning the result in string XML based on public/personal views that we...
Jul 16, 2022
When you are using DataverseServiceClient, we can see the constructor where we can pass an instance of ILogger. The purpose of this, of course, is to get more information regarding what is happening in our system (you also can monitor the performance). Depending on the scenario...
Jul 9, 2022
In this blog post, we will learn how to make Azure Functions for hosting APIs that will be used to connect with Dataverse (via Dataverse Service Client) and possibly other functions. Even though in Dataverse we actually can create custom APIs to do the same thing (but we need to...
Jul 2, 2022
When I scanned Microsoft.Xrm.SDK namespace from Visual Studio, I found an exciting extension in the ContextExtensions class. In there, we can discover InputParameterOrDefault<T> that accepts a string parameter. Without further ado, let's go to my testing about it! Demo 😁 I...
Jun 25, 2022
Celebrating the GA of DataverseServiceClient, let's talk about how to implement concurrency (if there are two users updating the same data at the same time, the system must ensure only the first update success and make fail the other) using an out-of-the-box feature. From...
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...