Format Date and Time to 12-Hour AM/PM in PowerApps Forms

When you use a form control with date and time fields in PowerApps, it automatically generates a data card with a date picker, plus two dropdowns for hour and minute—in 24 hour time. Now, I don’t know about you, but here in the U.S., where we’re used to the 12-hour AM/PM format, it’s kind of surprising that Microsoft hasn’t made this behavior easier to configure! Therefore, I sought to build my own solution to this annoyance by achieving the following goals: Combine the Hour, Minute, and AM/PM format into one single dropdown control. Allow for interval-based time selection…

0 Comments

Fast and Efficient Pagination in Power Automate

Pagination is frequently used by APIs to divide large sets of data into manageable "pages." In this post, I’ll show you how to efficiently paginate and collect all the results into an array in Power Automate—without using Apply to Each. I’ll also include a quick performance comparison so you can see the impact for yourself. The difference in speed will surprise you! Use Case: The Office 365 Users Connector I want to use an example where you can try this against your own tenant: the Office 365 Users connector. One of it's actions is the Send an HTTP…

Comments Off on Fast and Efficient Pagination in Power Automate

Working with Dataverse Column Data Types using Web API

This guide covers how to create and update common Dataverse column data types using the Dataverse Web API with PowerShell. While standard types are relatively simple to handle, complex types like Lookup require specific formatting and payload structure to be processed correctly. The Basics I already covered the basic CRUD operations using the Web API so I strongly recommend reviewing this post first. Basically, you'll either be using the methods post for create and patch for update. Then, we will pass the payload containing all the columns we want to create or update. We also need to ensure…

Comments Off on Working with Dataverse Column Data Types using Web API

Query Dataverse FAST with FetchXML Builder

One of the must-have tools for every Power Platform developer is XRMToolBox. Within it is a tool called FetchXML Builder, which lets us connect to our Dataverse environment, browse and query data easily, and export the results in various formats. Don’t let the name 'FetchXML' fool you—it does much more than just fetch XML! We can also convert the query output to OData (Web API) format for use with our scripts. This post is part of my ongoing series on using the Dataverse Web API with PowerShell. Make sure you have read through my post on Obtaining an…

Comments Off on Query Dataverse FAST with FetchXML Builder

Perform CRUD Operations using the Dataverse Web API

Being able to perform CRUD (Create/Read/Update/Delete) Operations in Dataverse is a fundamental task you'll likely be doing a lot when working with the Web API. I'll show you some common practical examples of how to perform this. This is a continuation in my series on using the Dataverse Web API and PowerShell scripting. If you haven't already, please read my post on Obtaining an Access Token, as you will need to know how to do this first. For my examples, I will be using the Dataverse Contacts Table because it is a standard table every Dataverse environment has…

Comments Off on Perform CRUD Operations using the Dataverse Web API