Hi all,
I am building a new application, it has a form in it that is connected to a sharepoint that requires an attachment. I already made the attachment as a required field, i put a control where it counts how many attachment it has and made the submit button disabled when count is zero. I tested the form multiple times with different files (excel files) with different file sizes. When I published the application, some of the users, when they submit their forms even though they have managed to attach the file in the form, the file disappears. So I thought it has something to do with file size, so I made the template file down to 200kb. I asked the users to submit their form again, randomly, some users are able to submit their forms and I would see the file in the sharepoint list. But some users, they are able to submit their forms, but the attachment disappears.
I am trying to find the exact rootcause for this as this is happening randomly. Some of the things I am thinking would be
- User's computer RAM? maybe when they submit the form, it happens so quickly that powerapps is not able to pick up the file? if this is the case, how can I make sure that the file is included when powerapps put the record with the attachment in the sharepoint list?
- File size - I already tested this, but some users even though they use small sizes of files, sometimes attachment is there, sometimes it is not.
Has anyone experienced the same problem? I need to make sure of the rootcause so that it could be fixed.