tips

Posts in this category.

Dataverse - Convert UTC Time to User Timezone in Plugin

May 4, 2024

Today, I'll share a quick tip on converting the UTC date to the User's Timezone settings in the Plugin (once you read the logic, you can also implement this logic into Power Automate/Custom API). In Dataverse, we can set our timezone in the below UI (go to Settings > Personalized...

[Low Code] Send Translated Message to User using App Notification

Apr 27, 2024

Today we will learn how to create a Dataverse Instant plug-in using the AITranslate function. The purpose of AITranslate is to translate a message to the targeted language. For today's scenario, we will learn how to query the selected Dataverse User's UI Language and send the...

Dataverse: Implement Pre-lock in a plug-in transaction

Apr 6, 2024

Lately, my mind has traveled a lot on designing a plugin that can handle concurrency issues. Even though the framework itself has UpdateRequest and we can pass the RowVersion, I found the implementation does not always fit with some of the scenarios especially if you want to...

Dataverse: Create an API to update Base Currency

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

MDA: Learn Xrm.WebApi.executeMultiple

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

Let's try Power Apps Test Studio

Jan 28, 2024

Before we begin, we need to know what is Power Apps Test Studio. Based on the documentation definition "Build end-to-end UI tests for your canvas app using Test Studio. Maintain your app quality by continually validating that your app works as expected when new changes or updates...

Dataverse: Export-Import Solution for Virtual Table

Jan 20, 2024

Still talking about the Virtual Table (Entity). Last week, we learned how to configure the Virtual Table (Entity) that reflects data from SQL DB (which you can learn here). Today, we will learn how to prepare the solution for export and import it to other environments! Prepare...

Dataverse: How to call Custom API in classic Workflow

Jan 6, 2024

In architecting a solution, we have lots of ways to do it. Specifically, in the Power Platform world, we can combine Dataverse (Dynamics CRM) with Power Platform to do integration/whatever scenarios that we need. But, what if we want to implement the generic integration with only...

Learning Dataverse Offline Mode (Canvas Apps) and Implement Concurrency

Nov 26, 2023

It's been a long time since I wanted to try the offline capability of Dataverse in the Canvas App (You can learn more in this official documentation). Again, the one that makes me curious is how the system behaves (in terms of managing concurrency and how we enforce strict...