I have to looked at the URL Control, Documents Module and some other suggestions.
I need to create a custom module which allows a Registered user to upload any file to the DNN site.
Once they have submitted the uploaded item, I would like to send a link to an Email Address so that our Tasking System for our graphic design department can click on the link to download the uploaded file(s).
I am thinking of using the DNNFilePicker and in the codebehind I would like the FilePicker folder path to be the Users default DNN folderpath.
This is my codebehind so far:
protected void Page_Load(object sender, EventArgs e)
var userfolder = FolderManager.Instance.GetUserFolder(UserInfo).FolderPath;
var doesfolderexist = FolderManager.Instance.FolderExists(PortalId, userfolder);
if(doesfolderexist == true)
txtFileUpload.FilePath = FolderManager.Instance.GetFolder(PortalId, userfolder).FolderPath;
So my question is, is there any easier way to set the User Folder and check if it exist and am I on the right path or should I create my own FilePicker?