Today, we will learn how to make use of the Azure Service Bus Queue to be implemented alongside Dataverse. The idea is Azure Service Bus Queue offers mechanism to make requests well-ordered which can be a way to make sure that your data is processed in the correct order. The flow that we will build … Continue reading Dataverse – Azure Aware Plugin + Service Bus Queue + Azure Function + Dataverse Custom API
Category: C#
Dataverse: Setup spkl from pac plugin init project
When we are generating a plugin project using Power Platform CLI > "pac plugin init" command, the csproj that is being generated it's different from the one that SparkleXrm by Scott Durrow has (the plugin project generated using "pac plugin init" I believe using minimal csproj file). That is why when we are installing spkl … Continue reading Dataverse: Setup spkl from pac plugin init project
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
Dataverse: Make use of INotifyPropertyChanged to get the latest state of Entity
Before we continue, this blog post will only work if you using Early-Bound on your plugin project (for Late-Bound, you can follow this blog post). The scenario that we will cover is to get rid of the hassle of the below method (I will show you using the code to make it easier): var target … Continue reading Dataverse: Make use of INotifyPropertyChanged to get the latest state of Entity
Dataverse: Dependent Assembly fix error “A strongly-named assembly is required”
When preparing the demonstration for my session for Dataverse Summit 2022, I encountered an error when registering the Plugin package. The error is "Could not load file or assembly 'xxx' or one of its dependencies. A strongly-named assembly is required.". The error thrown is because of the solution structure below: As you can see from … Continue reading Dataverse: Dependent Assembly fix error “A strongly-named assembly is required”
Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)
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 framework for Dataverse! You can check the documentation about what it can do … Continue reading Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)
Dataverse: Create Console For Debugging Plugin Code
Your colleague reported to you about a bug that is very hard to catch. It is reproducible in Production, but not in your Dev. The only easy way to check it is to debug it. This is a blog post about how to create a console app for debugging purposes (you also can use it … Continue reading Dataverse: Create Console For Debugging Plugin Code
Dataverse: Simple advice on how to design your plug-in
Currently, we have option to store data in Application Insight instead of using Plugin Trace Logs. The most crucial benefit of using this way for me is to get performance information and extract that information using Kusto Query Language. Still, we need to have an excellent strategy to get the max of it with minimum … Continue reading Dataverse: Simple advice on how to design your plug-in
Implement a Generic Concurrency Action in Dataverse
Today, we will implement a generic concurrency solution that I think will fit as many scenarios as we can. With the help of Azure SQL Server + Dataverse Custom API, we can implement a simple architecture solution to handle the concurrency (only allowing the first operation to be successful while dropping the second request or … Continue reading Implement a Generic Concurrency Action in Dataverse
Simple Approval Design For Model-Driven Apps
Do you know the In-App Notification feature from Model Driven Apps? This feature can create a notification that targeted a specific User. We also can add action to the notification so the User can also interact with multiple actions (now is limited to just an open URL). In short, this feature is very useful for … Continue reading Simple Approval Design For Model-Driven Apps