I need to programmatically create a folder in DotNetNuke 6.0.1 and assign permission to it. In DNN 5 I was able to create folders but now something changes and all the modules I’ve created for 5 don’t work in 6.
Please help me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a new Folder Manager API in 6.
FolderManager.AddFolder Method (FolderMappingInfo, String)
Parameters
folderMapping
Type: DotNetNuke.Services.FileSystem.FolderMappingInfo
The folder mapping to use.
folderPath
Type: System.String
The path of the new folder.
Return Value
The added folder.
Implements
IFolderManager.AddFolder(FolderMappingInfo, String)
Code API help file