Latest posts

Notes on code and the things I build.

AI , dynamics-crm , low-code , powerplatform , tips

Low + Pro Code: Create Dataverse Invoice Record based on Power Automate Extract Invoice Information

May 11, 2024

Hello! For today's scenario, we will learn how to automate the process of creating a Vendor Invoice record in Dataverse using an uploaded Vendor Invoice PDF file that comes to OneDrive's company folder. To be exact, we will learn how to utilize Power Automate to simplify the...

dynamics-crm , powerplatform , tips

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

AI , dynamics-crm , low-code , tips

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

.NET , AI , C# , dynamics-crm

Build a Dataverse Plugin and use AIClassify to simplify business process

Apr 20, 2024

For those who don't know, now we can call AI functions within Dataverse which helps to simplify lots of business processes. One of the scenarios that we will learn today is regarding Case/Feedback/Incident creation where users can just put minimal information such as "Title",...

Architecture , powerplatform , tips

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

C# , dynamics-crm , Javascript , powerplatform , tips

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