#dynamicscrm365

Posts tagged with this topic.

MDA: How to invoke the formOnLoad event after saved

Apr 21, 2023

On form on load event, it is very common to set how the UI looks based on certain conditions. For instance, when the status of the entity/table is Inactive, we need to lock all the controls. So, today we will learn how to do it via JavaScript (client scripting). Without further...

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

Dec 24, 2022

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...

Dataverse: Debug Plugin With FakeXrmEasy (Direct Connection)

Oct 29, 2022

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...

Model-Driven-Apps: How to use setIsValid method

Sep 10, 2022

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 =...

Create Field Security Profile Programmatically in Dataverse

Jun 18, 2022

Recently, my friend (Low Ming Hua) told me about an interesting scenario related to the 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 modified it!). For those who don't know, we...

Dataverse: Create GetLastDateOfMonth Function in Custom Connector

Apr 9, 2022

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...

Dataverse: Duplicate Detection Rules vs Keys

Mar 25, 2022

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...

Dataverse: Share Record Access

Mar 12, 2022

I have experienced the scenario where the Organization wants to implement strict record management where the requirement was to limit access based on the team. For example, if the owner of the record is Team A, the other Teams can't interact with it unless one of the members of...