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

learn more… | top users | synonyms

9
votes
5answers
12k views

Creating Nested Folders via Client Object Model

I'm trying to create nested folders in my document library so it looks like this: http://site/PublicDocuments/Folder1/Folder2/Folder3/ The document library "Public Documents" exists but none of the ...
0
votes
1answer
1k views

Folder name as calculated field

I've created a Library which consists of two Folder Content-types. Customer Prequalfication I'm looking to create a calculated column in the Prequalfication folder content-type which fetches the ...
0
votes
1answer
216 views

Create folders in Document Center

I have a document center site. I see I can upload file but I cannot organize them in folders ? Can I also create folders?
1
vote
1answer
25 views

Are use of folders detrimental to the use of content types?

Background: I have rather recently taken over the use of the document center aspect of our intranet from a colleague who has moved on to better things. Our organization consists of a number of ...
0
votes
1answer
45 views

User permissions on a folder

New to sharepoint and have a quick and simple question. I have a folder that I want to give someone full control of and also be able to add users to access it as they would like to. Will giving ...
3
votes
1answer
311 views

Where does SPFolder store it's “Created By” information?

Here's an odd one: I have a content type derived from SPFolder, that I am creating through code. As part of the creation process, I am trying to set the "Created By" information to be the user who ...
1
vote
2answers
748 views

SharePoint 2013 - Permissions on documens library and folders

Does SharePoint allow read-only permissions to a document library but allow users to edit or upload to a particular folder? Here's my scenario.... I have a few AD groups in SP. They need read only ...
0
votes
1answer
165 views

Performance : Caml query taking long time to load or something else

I have a CAML query which provides a result, if a SPfolder exists or not. When i do the item.Count it takes around 2sec for the line to execute . What is going wrong and taking long time to execute ...
0
votes
0answers
123 views

Return to previous page while in folder in document library returns me to an empty page?

I got a document library web part on a page, and it contains a folder, named X. When I click on folder X, it refreshes the page and now shows the contents of that folder, in which I can see folder Y. ...
1
vote
0answers
67 views

Library Folder Permissions

We have a site named 'DistrictAccess' with a document library under it. In that document library we have many folders. I need to be able to stop inheritance on the 'Document' and devise a script to ...
1
vote
2answers
1k views

Why mixed Folder with files after disabling New Folder

I created a document library in SharePoint 2010 and created many files and folders. In the default view (All Documents) the folders display first, followed by files (just as Windows Explorer does). ...
0
votes
2answers
2k views

getting my Document's parent sharepoint Folder

I have a sharepoint document library containing documents and folders (the folders are newly introduced as a new content type derived from folder) and I'm having an event reciever on document added ...
1
vote
3answers
1k views

SharePoint document library permissions by level?

I've got a SharePoint document library with a folder structure as follows: The library is called Customers. Inside of this library, there are about 150 folders for each of our different customers. ...
3
votes
3answers
6k views

Replacing AllItems.aspx with a custom AllItems.aspx

I'm trying to customize the page that is used to show the content of folders in a certain (dynamically created) list. This page appeared to be AllItems.aspx. To customize the page I decided to replace ...
1
vote
0answers
456 views

Calculated field with library folder name

I have a library (e-amil enabled) with e-mail with attachments and I need to make a calulated field using the e-mail subject. The problem is that the calculated field shows only when I drill down the ...
2
votes
3answers
1k views

Best Approach for using folders in Pages in Publishing site SharePoint 2013

What I'm looking for is an approach to organizing content pages on a Publishing site whose main contributor will be someone unfamiliar with Sharepoint (let alone SP2013). The Publishing site allows ...
1
vote
3answers
368 views

Cannot iterate subfolders of a very large folder

I have working code that is to iterate lots of folders in our (rather large) document archive, but one folder (which happens to have a very large amount of subfolders) does not allow me to iterate it. ...
0
votes
2answers
4k views

SharePoint search: show only folders in results

What is the best way to show only folders in the search results? I've tried adding a search refiner for Content Type but the Content Type search refiner doesn't show up. And yes, I've added a new ...
0
votes
1answer
381 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
327 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
60 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
5k 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
11k 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 ...
0
votes
1answer
50 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
254 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
1k 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 ...
0
votes
1answer
397 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
11k 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
247 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
947 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
68 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
665 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
1k 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
225 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
4k 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
2k 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
718 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
1k 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
345 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
312 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
168 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 ...
0
votes
3answers
3k 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
442 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
1answer
3k 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")) { ...
1
vote
1answer
3k 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 ...
2
votes
1answer
6k 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
84 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
1k 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
515 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
4k 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?