cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abd3127
Level 8

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,872)