Model-Driven-Apps: Implement Editable Grid and learn how to customize it

Let's learn how to implement Editable Grid and apply simple customization. As the name, the Editable Grid is a grid where we can do inline editing. In this blog, I create a custom table where we will implement the below scenario: - On Qty or Unit Price changed, set Total with formula Qty * Unit … Continue reading Model-Driven-Apps: Implement Editable Grid and learn how to customize it

Advertisement

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)

Model-Driven-Apps: How to use setIsValid method

When dealing with client script customization, most of the time we are dealing with data validation where the common steps are like the below snippet: var blog = blog || {}; (function() { this.formOnLoad = function(executionContext){ var formContext = executionContext.getFormContext(); formContext.getAttribute("tmy_transactiondate").addOnChange(validateOnChangeTransactionDate); formContext.getAttribute("tmy_dateonly").addOnChange(validateOnChangeDateOnly); } var validateOnChangeDateOnly = function(executionContext){ var formContext = executionContext.getFormContext(); var date = formContext.getAttribute("tmy_dateonly").getValue(); … Continue reading Model-Driven-Apps: How to use setIsValid method

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

Create Field Security Profile Programmatically in Dataverse

Recently, my friend (Low Ming Hua) told me about an interesting scenario related to 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 modify it!). For those who don't know, we can enable Field-level security to control … Continue reading Create Field Security Profile Programmatically in Dataverse

Dataverse: Create GetLastDateOfMonth Function in Custom Connector

Do you know we can write Code (Preview) in Custom Connector? In this blog post, we will make a simple function that will return the last date of the month to try the feature. Without further ado here are the steps: Go to make.powerapps.com > Dataverse > Custom Connectors > on the top right hit + New custom connector > Create from blank option: … Continue reading Dataverse: Create GetLastDateOfMonth Function in Custom Connector

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

Dynamics CRM: Implement Retry Policy using Polly

Lately, I'm still actively thinking about designing a system that also considers error-proofing as part of the feature. For example, we want to ensure the transaction that we will execute is successful in 3 times execution. Meaning, we need to implement a retry policy that Polly can handle! I know Polly when I read "How to maximize … Continue reading Dynamics CRM: Implement Retry Policy using Polly