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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.