1
vote
1answer
40 views

Get SPFolder by Folder's Name

I'm working on a web part that gets all the children of a SPFolder. The catch is I only have the folder's name. Would this be possible using a CAML query? If not how could I construct the folder's ...
0
votes
1answer
164 views

“Invalid file name” error creating folder programmatically

I get the following error when trying to create a folder: Invalid file name. The file name you specified could not be used. It may be the name of an existing file or directory, or you may not have ...
0
votes
3answers
686 views

How to get a creation date from a SPListItem that is a folder in c#?

I am making a visual webpart in SP 2010, and I download the SPListItems from a document library. I need to get the creation date of all the documents and folder items. I can do it successfuly for ...
0
votes
1answer
104 views

Setting permissions on a folder

2010, c# server object model I'm trying to programmatically assign permissions to specific folders in a document library (see my original post here) but I'm hung up on selecting a folder as an ...
1
vote
1answer
325 views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
1answer
34 views

About SPFolders & DocumentSets

I've been working in a feature for mi current project that involves folders. I've noticed that If you add files or subfolders to a folder and then you try to update the folder's metadata an exception ...
0
votes
1answer
252 views

A folder item is not returned by SubFolder properties after its creation

I have a SharePoint list (not a library) that accept the creation of folders. I have written a small utility method that allow me to create a folder hierarchy if it does not yet exists : public ...
3
votes
1answer
2k views

SPFolder vs SPListItem

I've trying to build a tree view which will show a Sites Lists and folders. This is an external application so I have to communicate with WSS3 through web services. Site |-List | |-Folder | ...