Try our conversational search powered by Generative AI!

EpiServer 4.62 - File upload?

Vote:
 

Hi,
I need to implement a file upload control to one page type.
But I having some hard time to find the best way to do it. Should I use Xform or just and ordinary file upload control?

Hi,

I need to implement a file upload control to one page type. But I having some hard time to find the best way to do it. Should I use Xform or just and ordinary file upload control?

#45047
Oct 27, 2010 13:49
Vote:
 

you could do like we did and create a custom property that saves it in the dds if it is just for one page.  There are alot of ways to do it.  I guess my question is, what type of storage mechanism are you looking at.  Do you want it stored in the Dynamic Data Store, file manager(fileSystem), in the db as binary etc. 

#45050
Oct 27, 2010 15:43
Vote:
 

Thank you for your reply.
I solved it by using the standard asp.net upload control and the UnifiedDirectory.CreateFile Method.
Thank you for your reply.
I solved it by using the standard asp.net upload control and the UnifiedDirectory.CreateFile Method.
#45052
Oct 27, 2010 16:35
* 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.