#dataverse

Posts tagged with this topic.

Dataverse: Query data using Fiscal Period and Year

May 25, 2024

Do you need to query data with the filter based on the Month/Year based on the specified date in your records? Today, we will learn how to query it and hopefully, you can implement it in your future project! For example, we have several records of Sales Order with the below...

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

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

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

Dataverse: How the RelatedEntities Plugin Works

Mar 9, 2024

Last week we learned how the RelatedEntity's performance compares to normal creation. We will create plugins for today's blog post and inspect how it works. For the side topic, we will also cover CreateMultiple and see if we can make the customizations better in terms of...