Learn how to deploy plugins with Azure DevOps Pipeline

Last week, we already learn how to set up Azure DevOps Pipeline for Web Resources. And this week, we will learn how to set up the pipeline, but for the Plugin (backend customization). And the interesting part, we also will implement the Plugin Package (or plugin-dependent assembly). What we will accomplish will be like the … Continue reading Learn how to deploy plugins with Azure DevOps Pipeline

Advertisement

Create solution’s setting file for export-import purposes (Power Automate + Dataverse)

When I published this blog post about Power Automate Deployment (manual), the great - Bill Blancett gave suggestions regarding the solution's import setting file that we can use if we want to import the solution using CI/CD or using Power Platform Tools CLI (you need to make sure you install this on your machine): TL/DR … Continue reading Create solution’s setting file for export-import purposes (Power Automate + Dataverse)

Dataverse: Create Custom API to get Email Content based on FetchXml and Email Template

This week, I get a task to update Email Content that is being sent from Power Automate. The existing logic was retrieving data from Dataverse > then populating the data manually (if you need to get lookup data, then you need to have Parse JSON action) > then setting the content with the correct variable … Continue reading Dataverse: Create Custom API to get Email Content based on FetchXml and Email Template

Let’s try Dataverse Dependent Assemblies for Plug-ins

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 was use the Shared Project which is limited to the code that we own + the IntelliSense in Visual Studio not working … Continue reading Let’s try Dataverse Dependent Assemblies for Plug-ins

Dataverse: How to use ExecuteByIdUserQueryRequest and ExecuteByIdSavedQueryRequest

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 define in the system. For example, I created the below Personal View to get the Contact data: … Continue reading Dataverse: How to use ExecuteByIdUserQueryRequest and ExecuteByIdSavedQueryRequest

Enable Log instantly by passing ILogger in DataverseServiceClient

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). And depends on the scenario that you need, you can log the information … Continue reading Enable Log instantly by passing ILogger in DataverseServiceClient

How to test service protection API limits in Dataverse

When I read this documentation about Service protection API limits, I was curious about the easiest way to get the error to validate the code in the documentation and enhance it. I read the documentation and found out about Dataverse search, which has a stricter policy (one request per second) which means it is easier to test. Service protection … Continue reading How to test service protection API limits in Dataverse

Dataverse: Duplicate Detection Rules vs Keys

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 validation logic that you want). Today we will learn the out-of-the-box features (alternate keys … Continue reading Dataverse: Duplicate Detection Rules vs Keys

Dataverse: Improve Performance using Partition Key

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: using System; using System.Web.Configuration; using Entities; using Microsoft.Crm.Sdk.Messages; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; … Continue reading Dataverse: Improve Performance using Partition Key