web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to add minimum att...
Power Pages
Unanswered

How to add minimum attachment size validation on attachments in power pages

(0) ShareShare
ReportReport
Posted on by 44

Can anyone please help me on how to add minimum attachment size validation on attachments in power pages, I want to restrict blank attachments from uploading so I want to add minimum size>0kb for the files

Categories:
I have the same question (0)
  • EmadBeshai Profile Picture
    806 Moderator on at

    Hi @Pragatij ,

     

    Out-of-the-box functionality (OOB) doesn't currently handle this, but you can achieve file size validation using a real-time plugin. The plugin can be triggered on annotation creation and check the file size. If the size is zero, you can display an error message to the user.

     

    If this post helps you with your problem, please mark this answer as Accepted Solution.

    If you like my response, please give it a Thumbs Up. 

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 49

#2
11manish Profile Picture

11manish 33

#3
Haque Profile Picture

Haque 28

Last 30 days Overall leaderboard