SaaS CMS has officially launched! Learn more now.

Form File Upload not working


(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?

Mar 07, 2019 22:39

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.

Mar 08, 2019 8:58

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")]

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.