Create Folder in Sharepoint Document Library


Badge +1

How do I create a new folder in a sharepoint document library?


I saw a post that said to use

K2SPSList.CreateFolder


But I cant find that method... What assembly should I reference?


Is there a wizard to do this?


Thanks



2 replies

Badge +1

I was able to do it using code under




SourceCode.SharePoint.WebServices.



K2SPDocumentLibraries


Thanks



Badge +2

Hi, I hate to be a newb, but that where I am. :)  I am trying to follow your lead and have added a reference event in 4.5.  I now have two, methods I think? in the wizard, one is K2SPDocumentLibraries K2SPDocumentLibraries = new K2SPDocumentLibraries(....) and K2SPDocuemntLibraries.CreateFolder(...)  The second one is easy to set up as it only requires the library name and folder url but I'm not sure how to populate the first one.  Can you provide any direction or references that might be helpful?


Many Thanks,


 

Reply