Javascript
Posts in this category.
Nov 15, 2025
In Dynamics CRM products, I'm not sure why the Microsoft Product Team isn't enforcing the same UI languages across platforms. For example, in the Customer Insights - Journeys form, they decided to hide the Command and Navigation Bar. Because of this "initiative", it causes some...
Oct 11, 2025
Hi Everyone, I'm back, and today, we will learn how to implement translating addresses to longitude and latitude (using Azure Maps API) and validating check-ins. For example, there will be a plan for the Salesperson to go to location X for Customer A. On the day itself, the...
Sep 6, 2024
Have you ever wondered why we can't change the default view when clicking Add Existing in the Subgrid area on Model Driven Apps and at the same time you need to implement business logic to limit users to select the record based on a specific view (similar with this thread)? Fear...
Aug 24, 2024
On the default mechanism of Lookup control on Model Driven Apps, once the user clicks the value, it will navigate to the record form. And since we already had Xrm.App.sidePanes, it will look interesting to change the default behavior and open the record in the side pane. So,...
Mar 23, 2024
This time, I've got a request from Trung Dũng Nguyễn where he wants to update the base currency based on the updated Currency inputted into the Transaction Currency table. When I check on the system behavior, the Currency (Base) information will be updated as long as we update at...
Mar 16, 2024
Back again with a deep dive series where we will learn about Xrm.WebApi.executeMultiple. The purpose of the function is to make batch requests (the real-world scenario is to make a bunch of CUD - Create/Update/Delete operations). Because this is a batch scenario, the performance...
Dec 9, 2023
Today's demonstration will show AI Copilot Control (Preview) on the Model Driven App. The scenario I can think of is when a user clicks the command/ribbon button on selected tables, we will let the user interact with AI Copilot Control for that table. Initially, I want to use the...
Sep 15, 2023
I just learned that in Model Driven Apps (MDA), we can enable async OnSave handlers. Why does it matter? The simple answer is the majority of the API(s) around it also changes to become async as well. For example, in certain conditions of the record, we want to show confirmation...
Jul 29, 2023
Again, another request from my friend Trung Dung Nguyen. He asked me to explore Power Apps Grid Control and make some attributes to be "read-only". For those who don't know, Power Apps Grid control allows us to set some features like inline editor (like Editable Grid). To...
Jul 22, 2023
I've got a request from my friend about how to implement opening a lookup in the side pane. For this requirement, we must implement the addOnLookupTagClick, the createPane, and the navigate functions. Without further ado, let's see how to do it! First, we will use the Task table...