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

learn more… | top users | synonyms

0
votes
2answers
3k views

How to get SPListItemCollection from a SPFolder?

I am making a SharePoint 2010 visual web part, and I want to recursively iterate through all files in a document library which has nested folders. I can get a SPListItemCollection for all items and ...
0
votes
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 ...
0
votes
2answers
3k 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
45 views

SP2007: Change/Set permission for Folder possible as in SP10?

I know in SP 2010 it is possible to set/change permission for folders in a library. I dont have SP 2007 here, but is it there also possible to do that in the same way? Is it possible to add users with ...
0
votes
1answer
580 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
0
votes
1answer
681 views

Is there a property to get all subitems/subfolders from a SPListItem?

I need to find out how many subitems and subfolders a SPListItem has. The fields ItemChildCount and FolderChildCount are no solution for me, because they only count the folder/item directly beneath ...
0
votes
1answer
89 views

Linked in folders in SP2010

I am currently re-structuring a team site trying to consolidate the existing information. I have several repositories (folders) which content could be duplicated (maybe a couple of Business Process ...
0
votes
3answers
588 views

How do I allow users to create folders but not delete folders?

How can I allow users to create folders but not delete folders in SharePoint 2007?
0
votes
2answers
19 views

How to add columns to Relevant Documents Web Part?

The client has a custom aspx page that displays to users files that have not been checked in (marked by an icon), version number, user that the file is checked out to (marked out), Library location, ...
0
votes
3answers
72 views

How to get ItemChildCount of DocumentSet (folder) using REST Api

I used SPServices to create and get a list of custom DocSets. There were some problems with that, so I wrote the code to create them with REST services. And that works properly. I'm trying to rewrite ...
0
votes
1answer
110 views

How to grant user permission to certain folders using Client Object Model?

So far I am able to grant user certain permission with the following code: ClientContext context = new ClientContext("http://myRealURL"); Principal user = context.Web.EnsureUser(@"myLoginAccout"); ...
0
votes
2answers
552 views

How to rename a folder via csom c# in SharePoint List?

How can I rename a folder in a list via CSOM (c#). I tried it with: var folder = ctx.Web.GetFolderByServerRelativeUrl(folderRelativeUrl); ctx.Load(folder); ctx.ExecuteQuery(); var folderItem = ...
0
votes
1answer
89 views

Upload a file to folder in a document libary

I have a java program that uploads a file to a document libary and i have a method that creates a folder. I want the file to be uploaded to the folder but i keeps getting uploaded outside the folder. ...
0
votes
1answer
39 views

when to use multiple libraries

I've viewed the files out there about this subject but am not getting the answer as it applies to my specific circumstance. Hoping somebody can guide me in making this decision. Our company has ...
0
votes
1answer
92 views

How to download a folder from sharepoint given URL using CSOM

I am new to SharePoint development, so forgive me if I am asking stupid questions. I have spent quite some time searching the web without success, so I am hoping to find an answer here. Within a .NET ...
0
votes
1answer
229 views

Add SP Group to folder using JSOM

Is it possible to add a SharePoint Group to a library folder using JSOM in Office 365? I'm using a script editor webpart on an aspx page to run the code. I managed to create SP Group, create folders, ...
0
votes
1answer
92 views

PS Script copy file in specific folder

Almost same question as here : Power shell script to copy the files and folders with in 2 specific dates I understand the script, which copies entire folders/files from a library to another. But my ...
0
votes
1answer
602 views

CAML query to ignore folders

I am searching my list but the list is in folders. How can I use a query to ignore the folders and get the whole list so I can search it. I am using sharepoint 2013 and javascript. I want to get all ...
0
votes
1answer
2k views

How to display item count of specific folder in list

I have a list, which has some columns including title and URL. URL column directs to specific folder related to list item. I want to add one more column in list, which would display items' count of ...
0
votes
3answers
255 views

What is the best solution for uploading/moving/downloading various files?

I don't know how to start this so I will try to explain situation: Users: Programmers, managers, clients. Files: Various files not supported by Office, mostly code samples, manuals. What do I need? ...
0
votes
1answer
1k views

Add Group to Folder in a Document Library using Powershell

I want to create a Function with a single command line to add a SP Group to a Folder within a Documents Library. Structure: Site Document Library Folder (Permissions/Group(s) to be added here) ...
0
votes
1answer
36 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 ...
0
votes
1answer
107 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
1answer
182 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.
0
votes
1answer
335 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
1answer
2k views

how can i go back or UP one level Folder in document library web part in sharepoint 2010

My question about document library web parts that appear in my first page in SharePoint 2010 Sites. (this picture ) when users want to browse in that web part and when they click on folders cant go ...
0
votes
2answers
710 views

Easier way to move files up a level?

I am trying to flatten the file structure we have on SharePoint. Is there an OOTB but non manual way to move the contents of a folder up a level? I'd rather not download the contents of the folder, ...
0
votes
2answers
1k views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
0
votes
1answer
492 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 ...
0
votes
2answers
578 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: ...
0
votes
3answers
2k 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
1answer
579 views

Items in folder not showing after filtering

following situation... The goal: i have a document library with different Project folders. Within these folders are various project files (exel - word - pdf etc.) that belong to that specific ...
0
votes
2answers
387 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
919 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
0
votes
2answers
8k 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
3k 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?
0
votes
1answer
454 views

How to move a document from SharePoint folder to local directory in a drive?

I know there is a workflow to move documents from one folder (or a library) to a different one inside the SharePoint based on their approval status or version number etc. But I want to move the ...
0
votes
2answers
188 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
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 ...
0
votes
1answer
281 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 ...
0
votes
1answer
2k views

How to display folder and item in a treeview (inside a listview)

First of all, thank you for reading this! I have a custom list with folders and items in them. What I'm looking for is a webpart or view that shows the list in a treeview. An example for that is the ...
0
votes
1answer
611 views

Can a workflow be associated to a folder without custom code?

My client has a document library that contains a folder for each "case" they are working on. These "case" folders contain various documents related to the case. They would like to be able to add a ...
0
votes
3answers
698 views

What has happend to my folder structure?

For some reason, I can no longer see the folder structure in our Sharepoint site. For example, for a project we have three top-level document libraries (top1, top2, and top3). Inside top2, there are ...
0
votes
1answer
1k views

How can I hide a folder?

What else do I need to add to following code to make sure the folder is hidden or read only? SPListItem createFolder = myDocLib.Folders.Add(myDocLib.RootFolder.ServerRelativeUrl, ...
0
votes
0answers
9 views

How To Use Document ID to Auto Assign Directory

So, I am using a SharePoint site with various folders, documents, etc, the norm, and I currently have to tell SharePoint what Task Order Folder that the file belongs to, but I should have to because I ...
0
votes
0answers
24 views

How to update folder properties based on content type using C# Rest code

I have a document library, say, People, with a custom content type MyCustomType with fields Location, Cost.This library has a folder say X. X has a subfolder Y. Y has 3 subfolders z1,z2,z3 at the same ...
0
votes
2answers
21 views

Share parent folder properties with child files e.g. word, excel

I'm currently looking to set up a sharepoint library which is to store the multiple files for separate customers. The biggest issue i'm facing is to integrate it fully with the search functionality ...
0
votes
0answers
17 views

Hide a content type from the new document menu

I have created a content type contenttype1 containing a numeric columns that I have associated to a folder in one of my library which help me to change the default alphabetical folder ordered to a ...
0
votes
0answers
39 views

SPList.RootFolder.Properties is Null on some lists

I have a weird problem in production that I've been able to identify (and fix) but I don't know how to identify the cause. In this project every list is created by XML creating a Content Type, list ...
0
votes
0answers
11 views

Add “Destination Folder” in the edit form

I would like to add the field "Destination Folder" in the edit form in order to move a document in another folder. Is this posible ? Can you help ? Thanks !