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