Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 10 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Forms
Created by Guest
Created on Dec 15, 2020

When creating a Custom DataSubmissionService class, in the StorePostedFile method, I need to know the name of the form that submitted the file upload.

This is discussed in Support Ticket #572713.

Here is a summary of the scenario:

We need to have various forms for users to upload files to Episerver. These files are scattered around. What we want to do is create a folder and specify this folder (which we currently do by having a property on the site HomePage with the identity -- the integer ID -- of the folder) so that the Custom DataSubmissionService can retrieve that identity and get (or create if it doesn't already exist) a folder that is named the same as the form that submitted the upload file. This will allow our users to first, easily find the uploaded files, and second, have some context -- the form name -- of where the file was uploaded.

So... in the media folders we'd have:
| |--Surveys-20201212.pdf
| |--Surveys-20201217.pdf
| |--Surveys-20201205.pdf


So in the Custom DataSubmissionService, I can retrieve the folder ID from HomePage and get an IContent to it but I am not able to get the name of the form that submitted the uploaded file to determine that second level.