tips

Posts in this category.

Setup Github Workflow to generate Dataverse Entity Classes

Jan 25, 2025

As a person who cherishes "Early-Bound" so much, I want to ensure my team also uses it in the project. The step to generate the "Early-Bound" is not too complicated, especially after Microsoft Power Platform CLI (pac modelbuilder build). But, again, enforcing it on other team...

Dataverse ServiceClient: Comparing ExecuteAsync vs Execute

Jan 19, 2025

This is another benchmark blog post, in which I tried to upgrade the greatest snippet on how to do bulk insert, update, or delete (blog post by Mark Carrington that you can read here) with the async operation. As you know, the latest Dataverse ServiceClient supports async...

Dataverse: Using Or Condition in multiple QueryExpression.LinkEntities

Jan 11, 2025

Quick tips for those who want to retrieve data using QueryExpression, join it with multiple tables, and filter it using OR condition based on LinkEntities. To simplify the explanation, let me show the SQL Query that we want to achieve for the scenario: SELECT contact.firstname,...

Dataverse: Bulk Performance Settings - Max Threads and Chunks

Nov 3, 2024

Currently, I'm still focusing on how to improve bulk processing in Dataverse. After implementing User Multiplexing, we will learn another consideration that we can apply which is the total threads and chunks of data per thread. Of course, some variables such as network speed,...

Dataverse: Get Azure Key Vault Secret from Plugin

Oct 19, 2024

I have an interesting question about how to get the Azure Key Vault Secret from the plugin. The official documentation about the RetrieveEnvironmentVariableSecretValue action states that it can only be triggered from Power Automate Flow. The problem with this step is that it...

Dataverse: Retrieve data using TDS Endpoint in Plugin

Oct 12, 2024

We always love SQL4CDS by Mark Carrington. One of its features is using the TDS (Tabular Data Stream) Endpoint for reading data. On one of the cron jobs, I have a logic to aggregate the sum of the data. Although I was using SQL4CDS Engine to retrieve the data, I observed the...

Dataverse: Create ServiceClient Strategy

Sep 15, 2024

I just realized creating ServiceClient is an expensive operation (I found one blog post that confirmed this problem even though this was an article from 2017). During one of the API call tests, almost half of the time was wasted on the creation of ServiceClient. Before, I always...

MDA: Fixing Add Existing Button in Associated GridView!

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