November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
If you are not using EPiServer Forms, you have to handle upload file yourself. By creating page controller (see Alloy MVC), you can all request information including files which are uploading. In there, you save your file and update property as you want.
I would like to upload file from user form. When I search for the solution, I found that EpiServer.Forms support file upload but we are not using Forms for the pages and created programmatically.
For example, we are creating a page element using the following code
[Editable(true)]
[Display(
Name = "Name",
GroupName = SystemTabNames.Content,
Order = 10)]
public virtual string userName { get; set; }
Is there any way to upload file from user forms?
Also, Geta.Epi.MediaReferenceSelector can be used with following UI hints
What is the variable type to use for MediaReferenceSelector?