cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Attachments of size 0KB are getting uploaded unlike SharePoint forms

Hi,  

The PowerApp form is not showing any error message if the attachment size is 0kb, unlike the OOB sharePoint new item form functionality. The OOB form do not allow saving the new item if any attachmet have 0kb size..  

 

Is this known issue.?  

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Attachments of size 0KB are getting uploaded unlike SharePoint forms

Hi @abd3127 ,

 

I just tested. It is true that when you add a 0KB file to PowerApps custom form and submit, it won't give any error. But after the item get submitted, then you will find that actually this 0KB file is not saved. It's just that PowerApps didn't give the error message.

 

It seems that so far you cannot check the file size of each files that you added to Attachment control inside PowerApps. According to  https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-attachments, there is no such property for Attachment control.

 

You could try to submit an idea in PowerApps Idea forum to ask for this feature if you really need it:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Attachments of size 0KB are getting uploaded unlike SharePoint forms

Hi @abd3127 ,

 

I just tested. It is true that when you add a 0KB file to PowerApps custom form and submit, it won't give any error. But after the item get submitted, then you will find that actually this 0KB file is not saved. It's just that PowerApps didn't give the error message.

 

It seems that so far you cannot check the file size of each files that you added to Attachment control inside PowerApps. According to  https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-attachments, there is no such property for Attachment control.

 

You could try to submit an idea in PowerApps Idea forum to ask for this feature if you really need it:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,817)