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

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

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

Dataverse: How to use RetrieveEntityChangesRequest to synchronize data with externals system

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 Architecture, there is always a pro and … Continue reading Dataverse: How to use RetrieveEntityChangesRequest to synchronize data with externals system