Forum Discussion
Filenames truncated during Forms attachment upload
Marcus121 - This is still an unresolved question. I started experiencing the same problem when uploading files via a Microsoft Form to SharePoint. This article states that with regard to SharePoint, the file path length starts at the word 'sites' in the path name. The default location for a new form upload submission is buried sort of deep IMO:
"sites/site-name/Shared%20Documents/Apps/Microsoft%20Forms/SubFileUpload/Question%201/"
This equates to 85 characters in this example, well under the 400 character limit. Even with a really long filename, 315 characters should be fine.
Another tidbit to consider, Microsoft Forms, by default, appends an underscore and the users' name to the end of the file on upload. I thought this might be pushing the path length over the limit forcing the truncation. Again though, with 315 characters, this should be more than enough.
I dug in to my flow outputs and it seems that the filename is actually being truncated before the user name is being appended. Purely a guess at a glance from me on this. Please correct me if I'm mistaken. Don't want to spread misinformation. Just trying to find a solution as my clients are frustrated by this behavior.
BukiMainLong I'm struggling with the same problem, did you ever find a solution for this?
- BukiMainLongJan 17, 2023Copper Contributor
Moritz__ - Unfortunately, the behavior seems to remain the same. I currently do not have another solution except for what is mentioned here previously/above.