This blog will discuss how to calculate the size of a media file in a canvas app. This can be useful if needed to do some validation on the size of the media that will be uploaded by a user. The demo below shows the scenario where the app displays the size of an image as a notification when a user has uploaded it from his device.
Demo :

How it works ?
The Add picture control is…
Continue Reading Mehdi El Amri’s Article on their blog
How to calculate media file size in a PowerApps CanvasApp ?
This blog will discuss how to calculate the size of a media file in a canvas app. This can be useful if needed to do some validation on the size of the media that will be uploaded by a user. The de…
Blog Syndicated with Mehdi El Amri’s Permission
More About This Author
Array
Dyn365CE2022.11.06[Power Apps – Geospatial features] How to implement a radius-based location search ?
Dyn365CE2022.10.22[Power Automate – Teams] Trying to resolve the error “The payload is too large” when posting an adaptive card to MS Teams
Dyn365CE2022.09.20[Model-driven apps – Client Scripting] How to interact the client API with a PCF control in a form using the OnOutputChange event?
Dyn365CE2022.09.18[Power Apps – PowerFx] Let’s try to deep link a Power apps to WhatsApp and Ms Teams using Named Formulas