Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to create a folder with
Media m = Media.MakeNew(dirInfo.Name, folderType, User.GetUser(0), nodeId);
System.IO.Directory.CreateDirectory(System.Web.HttpContext.Current.Server.MapPath("~\\media\\" + m.Id.ToString()));
Unfortunately, the folder is not shown in the tree under node with nodeId.
From what I see in database, nodeObjectType is different and, document created during Media.MakeNew has versionId null, instead of some value.
Can you point me further?
Thank you
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Media upload and Document
Hi,
I'm trying to create a folder with
Media m = Media.MakeNew(dirInfo.Name, folderType, User.GetUser(0), nodeId);
System.IO.Directory.CreateDirectory(System.Web.HttpContext.Current.Server.MapPath("~\\media\\" + m.Id.ToString()));
Unfortunately, the folder is not shown in the tree under node with nodeId.
From what I see in database, nodeObjectType is different and, document created during Media.MakeNew has versionId null, instead of some value.
Can you point me further?
Thank you
is working on a reply...