Try our conversational search powered by Generative AI!

Form File Upload not working

Vote:
 

(this has to be a simple question....)

I have a form with a file upload.  I submit the form with the uploaded file (txt, xls, xlsx) and the form submits, but the file is not avialable under the form submissions?  The event log shows no errors.    I think this might have something to do with GenericMediaTypes not being associated with the project but I am not sure how to check this.

Ideas on how to troubleshoot and fix this?

#201947
Mar 07, 2019 22:39
Vote:
 

I understood that you are using EPiServer form, right? I guess the reason here is no available media type for your file type. You can add more generic media type for all no specific file types or add more specific media type for appropriated file types in coding.

#201950
Mar 08, 2019 8:58
Vote:
 

Yeah, I had to change the MediaDescirptor tag.   Some type of messaging would be nice when the extension is not in place.  That's alright...

Original and Updated.

[MediaDescriptor(ExtensionString = "pdf,doc,docx")]
[MediaDescriptor(ExtensionString = "pdf,doc,docx,xls,xlsx,csv,txt,zip")]

#202316
Mar 22, 2019 14:31
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.