During my session about Episerver Forms at the Øresund Episerver Developer meetup I received a question about how to change where uploaded files are stored
A quick look at how Episerver Forms manage the posted information I found that it is the DataSubmissionService that creates an Asset Folder and stores the file.
By replacing the original DataSubmissionService with a custom one that overrides the method StorePostedFile I could easily decide for myself where to store uploaded files.
Take a look at my example from GitHub.
[…] The only good reason I’ve heard where it would be necessary to replace the DataSubmissionService would be to override where uploaded files are stored. […]