Announcements
A common workaround is converting the file to JSON/Base64 and estimating the size using Len().
Len()
Example:
UpdateContext( { varSize: (Len(JSON(ImageControl.Image, JSONFormat.IncludeBinaryData)) - 814) / 1370000 } )
Then display:
"Estimated file Size: "&Round(varSize, 2) &" MB"
Note: this is an approximation, not the exact original file size, because Base64 encoding increases the payload size. Reference Article: https://www.practicalpowerapps.com/data/attachmentsize/
Hope this helps 🧑💻 If it solved your issue, please mark it as the solution so others can find it easily ✅🙌
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290