Dataverse: How to fix Managed Solution Version Number

Let's talk a bit about Solutions management. In my current company, we separate out the solutions based on the component types. So we have WebResources, Plugins, Customizations, etc. The benefits of this model are: The changes are more trackable (if you are also check-in the solutions packager's result) If the changes are not related to … Continue reading Dataverse: How to fix Managed Solution Version Number

Advertisement

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

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: 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: Remove the unmanaged layer of the Email Template

When you need to send Emails from Dataverse and have a specific format, you can use the Email Template component. Although this is not a new feature, most of us still using this, and just recently I stumbled into a situation where in one of the environments, there are lots of Unmanaged layers found in … Continue reading Dataverse: Remove the unmanaged layer of the Email Template

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

Model-Driven-Apps: Add on post-save event

What is the best way to add a post-save event that will always be called either success/failure? From the documentation, I see we actually can use addOnPostSave but when I try it, it didn't work as expected (later we will go through this scenario). So, as an alternative for now we can make use of … Continue reading Model-Driven-Apps: Add on post-save event

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