A folder is a virtual container where files can be stored.

learn more… | top users | synonyms

2
votes
4answers
8k views

How to copy a folder in SharePoint?

Is there any way by which we can copy a folder from one SharePoint site to another SharePoint site? I know how to copy documents but I am not finding any way to copy a folder which resides in a ...
0
votes
1answer
139 views

get items in specific summary task folder in SharePoint 2010 via client object model in c# [duplicate]

i want to get items in android via web api web service. when user click on items web api return values step by step from sharepoint task list. using (ClientContext context = new ...
1
vote
1answer
103 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 ...
2
votes
1answer
39 views

Moving folders in Moss 2007

Is it supported to move folders with its content between libraries in Moss 2007 while retaining metadata? I tested dragging and dropping the folder through Explorer View and got a message saying ...
3
votes
3answers
2k views

How to find the current folder through JS COM?

Is there a way to get a reference to the current folder through the JS COM? It doesn't seem as though it can be done with SP.ListOperation. And by current folder, I mean the folder the user is ...
6
votes
2answers
6k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
10
votes
9answers
33k views

How can I move a document from one directory to another?

How can I move a document into a sub-folder and still maintain its version history from the old location in the new location?
0
votes
1answer
37 views

Folder Hierarchy

Is it possible to color code folders (SharePoint 2007, no MOSS)? For example if I want all of my Top level folders to be red, Level 2 to be blue etc. can I do this as I create a folder and can each ...
0
votes
1answer
98 views

Formula for item type in SharePoint

In SharePoint, is there any formula to get item type (Folder or File)? I have a calculated field on the list, which value is depend on if item is a Folder or not.
6
votes
2answers
369 views

When should document sets be used instead of folders (and vice versa)?

SP2010 supports both folders and document sets, but why are both concepts supported, i.e. in what significant ways do they differ from the use-case perspective? Google has revealed seemingly ...
4
votes
1answer
2k views

Sharepoint document library folders

I've got a problem "browsing" folders in my Sharepoint 2010 document library. In my opinion there are two ways of accessing folders, but I can't see the difference. 1) ...
0
votes
1answer
164 views

In SharePoint 2007, is there a way to allow users to see folder names, but not the contents of the folder?

One of the SharePoint sites I have has a Document Library called Requested Requirements. Withing that document library, a folder is created for each new request that comes in. I would like people to ...
0
votes
2answers
4k views

Get All Items in a Folder (including ALL subfolders)

I am trying to get the count of the number of items in a SPFolder. I have tried several things so far however they seem to break once I add two subfolders. I want the total number of files in all ...
0
votes
1answer
268 views

Prevent folder deletion in document library - Explorer view snafu

We want to prevent users from deleting top level folders in a document library. We created an event receiver on ItemDeleting that checks if the item type is a folder and if the path is the top level, ...
0
votes
1answer
94 views

Automatic folder approval

We are creating folders every day via Project Web App and SharePoint 2010, and as of right now they are manually approved. Folders in our company are always allowed to be approved so my question is: ...
0
votes
2answers
474 views

Possible to get E-mail Subject for attachments in E-mail Enabled Document Library?

I can't test so sorry if I am asking here. I would like to know if for e-mail enabled document libraries, is there a field that gets populated with the E-mail subject, in particular for the ...
1
vote
0answers
39 views

Set Created By field for Folder in Document Library

I need to migrate documents from xml to Document Library. We can use Files.Add method to create documents with created by and modified by fields. How can we update / create Folders in Document Library ...
0
votes
1answer
406 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
2answers
233 views

Organize Site Content when there are a large number of lists

I'm working on a project that has a large number of lists. I'd like to group these lists to make it easier for users to find the list they are looking for. I'd like a structure like the following: ...
1
vote
1answer
117 views

Creating a folder with a specific set of subfolders

just wondering if you can help I'm only just starting with SharePoint Development I have a request for some c# code that will allow users to do the following: Within a specific Site Collection e.g. ...
0
votes
3answers
2k 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 ...
1
vote
0answers
890 views

Cannot delete a folder in a library

I am replacing a colleague for the support of a SharePoint 2010 intranet. I want to delete a folder in a library. The folder to delete is special : I can see the folder in the intranet I cannot see ...
0
votes
1answer
302 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
831 views

Hide content type on “Add new item” ribbon button in folder

I have a problem which concerns hiding content types in the "Add new item"-Ribbon-Button. In Visual Studio, I defined 2 custom content types (derived from the default folder content type) and a ...
0
votes
1answer
215 views

Add Document Library to Document Library or Folder?

We have a top-level doc library 'Operations' with multiple folders. I wish to add a folder or doc library under 'Operations' called 'Purchase Orders'. This folder or library 'Purchase Orders' ...
2
votes
1answer
178 views

Setting Sealed to False… Any repercussions?

I need to attach an event receiver to a content type created by SharePoint: FolderCT.EventReceivers.Add(SPEventReceiverType.ItemAdding, SharepointReceiversAssemblyName, CTReceiverName); ...
0
votes
1answer
101 views

Default content type for files uploaded to a specific folder

In SharePoint 2007, I am trying to create a Document Library containing a special folder where the files within that special folder can have some extra meta-data. I've been following these ...
1
vote
0answers
141 views

SharePoint Document Folders Not Accessible

I apologize if this question is dealt with elsewhere, but so far I haven't been able to locate it. My company is running SharePoint Server 2007. I am an owner/admin of several sites and they all ...
1
vote
4answers
6k views

Count of Files Under a Folder in a Document Library

Is there a way to get a count of the files under a folder in a SharePoint 2010 (enterprise) document library?
0
votes
3answers
1k views

Sharepoint 2010 Folder in Custom List

I would like to have folders in my custom list in order to have a form of archiving. I was able to enable the folders by going to List Settings -> Advance Settings -> 'Make New Folder command ...
0
votes
2answers
322 views

Locate empty folders in Sharepoint 2007

I'm trying to work out how I can locate empty folders in Sharepoint 2007 using Powershell. Folder.itemcount doesn't appear to work in 2007.
0
votes
2answers
143 views

SPFolder versions?

I'm using SharePoint 2013 Server. I have a document library with enabled versioning. SPFolder.Item.Versions always returns only one last version of the folder item despite it was modified multiple ...
0
votes
1answer
2k views

web.GetFolder() - value does not fall within the expected range. Sharepoint 2010

Below is the code to check if folder exist in doc library on a subsite and if not than create it. using (SPSite site = new SPSite(sharePointSite))//"http://testsite.dev")) { ...
0
votes
1answer
2k views

Create a folder structure in a discussion board

How can I create a folder structure in a discussion board? I have already tried this solution: 1) Create a new Site Content Type say called 'Thread Folder' based on the Folder Content Type with ...
1
vote
1answer
3k views

PowerShell: Upload documents to folder in document library

I'm using SharePoint Foundation 2010. I have to make a PowerShell script that copies a structure found on a network share. Its all good except for one thing... I know how to make Document Library's ...
0
votes
1answer
69 views

Setting permissions on folder not working

I am using SharePoint 2010. I set permissions on my folder but yet everyone can still see and access the documents in the folder. What is going on here?
0
votes
1answer
779 views

Create a tree of folders in the list instance of a document library

I created a document library list (in visual studio) and I want to set a tree of folders in the list instance not programmatically but in the element.xml file
1
vote
3answers
282 views

Move Files from a SharePoint Library into a Folder

I have a problem. I want to move files from a SharePoint library into a folder using PowerShell. To be more specific I need to move all the files in the library for whose a SharePoint field value ...
0
votes
1answer
2k views

Search for specific folder in library with CAML

I'm looking for a way to search for folder which name starts of 'Foo' using caml query in list. How can I narrow results to return only folders?
6
votes
1answer
3k views

CSOM Get ListItem of Folder

In an application I'm working on, I'm interacting with SharePoint (2010) via the .NET Client-Side Object Model, and am trying to account for a large number of possible configurations of document ...
0
votes
1answer
38 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 ...
1
vote
0answers
63 views

Connect to a Shared Folder on a new computer

I have been using SharePoint Shared Folders as a backup and synching mechanism for my working documents on my laptop. I created a Shared Folder (I called it "Synchronize") for myself and keep all my ...
1
vote
0answers
368 views

Folder Content type gets lost when using a list template

I created a new folder content type that has several columns of data and then created some folders in a list using the content type. I then created a list template and included content. When I created ...
0
votes
2answers
158 views

can you organize Document Set libraries into Folder Heirarchy?

In my sharepoint designer workflow i create a document set when a project initiation form is submitted. the workflow creates the document set in a document set library. I'd like to organize a folder ...
0
votes
1answer
188 views

Sharepoint 2010 search not showing folders in results

I am stumped by this pretty unusual problem. One user cannot see folders as results when searching. Only files within the folder are shown. Only one user has this problem. Many other users with the ...
2
votes
1answer
1k views

copy the name of a folder to a column

Is there an out of the box way in SP2010 to copy the name of a folder to a column? Or a workflow to do it? For example. I have a folder content type called scholar and it will be named the scholar's ...
1
vote
1answer
3k views

How to change folder properties inside a sharepoint library

We have an existing SharePoint library that was created years ago for project management. The users who used to manage it are no longer with the company. The library is setup with multiple folders. ...
2
votes
2answers
807 views

Get content Type order in C#

I am building a web part that would be added to the bottom of every library view and would display the folder content types making it easy to create a new folder (rather than having to go to documents ...
4
votes
3answers
4k views

How to get SP.Folder for SP.ListItem in SharePoint 2010 JavaScript Client Object Model?

I have a custom button on ribbon for document library and need to disable it if current SPListItem is an empty folder. To disable button I use EnabledScript attribute of CommandUIHandler. I can get ...
1
vote
3answers
2k views

Item name / title when creating a folder

I am trying to create a list item with a folder content type by setting it's content type id to a folder content type id. The folder is created successfully but the title is set as 1_.000, 2_.000 etc. ...