Hey guys
I'm using SubmitForm(Form1) in Edit mode to upload another file (there's already a file uploaded) but is not saving, at the end I'm seeing only the first file that I uploaded, not the second. What could be the problem ? The Datasource is the same for both times and also the Item since I can see the first file.
I need help as soon as possible
Thanks!
Solved! Go to Solution.
Hi @Jaos291,
Can you share a bit more about your issue ?
Which kind of file are you uploading ?
Can you show the error info about your issue ?
I made a test . There is no issue on my side.
Please check if your file exceeds the maximum size allowed to be upload.Currently there is a limit of 10 MB.
Please view MaxAttachments property of Attachment and check if the maximum number of files is limited .
You can try to re-create an App based on your SharePoint list and check if it is solved.
Regards,
Eason
It was my mistake
I was using SubmitForm because I needed to upload a file and the other info was updated within a Patch, using SubmitForm almost at the beginning of the OnBehavior formula fixed it
Hi @Jaos291,
Can you share a bit more about your issue ?
Which kind of file are you uploading ?
Can you show the error info about your issue ?
I made a test . There is no issue on my side.
Please check if your file exceeds the maximum size allowed to be upload.Currently there is a limit of 10 MB.
Please view MaxAttachments property of Attachment and check if the maximum number of files is limited .
You can try to re-create an App based on your SharePoint list and check if it is solved.
Regards,
Eason
I have an app that lets you attach a file (The size is not the problem I verified it), there is no trouble here the file uploads correctly. Then the file must be seen by some one like an admin and then he can attach another file, here is the problem, the adm can see the first file and download it, when he uploads another file then those two files must be seen by another person, for some reason this person can only see the first file uploaded and not the second one. I believe the second time I Submit the form is not saving but I'm not sure why is happening, the form is in Edit and it shows the correct Item because I can see the first file I uploaded
I'm doing the test with PNG files, the size is around 60 KB each
It was my mistake
I was using SubmitForm because I needed to upload a file and the other info was updated within a Patch, using SubmitForm almost at the beginning of the OnBehavior formula fixed it
User | Count |
---|---|
175 | |
111 | |
86 | |
44 | |
42 |
User | Count |
---|---|
229 | |
118 | |
116 | |
74 | |
66 |