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

learn more… | top users | synonyms

1
vote
1answer
321 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
2answers
650 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). ...
3
votes
0answers
54 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 ...
0
votes
2answers
699 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
765 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
2answers
1k views

How to create a folder in SharePoint 2010 document library using REST or HTTP methods

I am using Java to make calls to the SharePoint REST Interface to get list items of a document library and HTTP methods to upload documents to SharePoint. But, I am having a difficult time trying to ...
1
vote
4answers
433 views

Folder creation in Document library using listdata.svc

Do you have any tips how can I create a new folder in a document library using listdata.svc (OData REST interface of SharePoint 2010) from JavaScript? SP creates a new file instead of a folder. I can ...
0
votes
1answer
483 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 ...
6
votes
4answers
4k 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 ...
2
votes
3answers
2k 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
41 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 ...
1
vote
3answers
84 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 ...
0
votes
0answers
9 views

Display folder always expands when opening a file: Performance Point Dashboard Designer

I am using Performance Point Dashboard Designer 2013 on SharePoint Server 2013. My .ddwx file contains large number of contents like KPIs, Scorecards, Grids, Charts ,Filters etc. I have kept them ...
1
vote
3answers
47 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
869 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 ...
1
vote
4answers
5k 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
81 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
0answers
124 views

document library webpart open to specific folder

Is there a way to have a document library web part open to a specific folder? I've been playing around for a few hours and I don't see a decent option any help is greatly appreciated
1
vote
1answer
38 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
34 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 ...
1
vote
3answers
202 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 ...
5
votes
2answers
3k 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 ...
9
votes
9answers
26k 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
25 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
37 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
145 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
43 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
64 views

Move item to folder when added/edited (SP2013 or O365)

How to move item to folder automatically when it has been added or edited in a library? The folder is in the same library. The correct folder will be defined by metadata. This should happen ...
0
votes
1answer
215 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
1answer
750 views

upload to document library subfolder in client object model

I'm using the Client Object Model to upload files from a network drive to a SharePoint document library. Here is how I would specify the upload location if I were uploading to the document library's ...
0
votes
2answers
1k 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
39 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
2k 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
0answers
266 views

Get the Parent Folder URL or Name in a SharePoint Foundation 2013 Reusable Workflow

Is there an easy way to get the parent folder URL in a SharePoint Foundation 2013 Reusable Workflow? The workflow is linked to a Content-type that is used in a Document library. The CT is a custom CT ...
0
votes
1answer
133 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, ...
1
vote
1answer
47 views

Can't create folder “com.examples.app”

I tried to create various folders which name came after class packages and found that some can be created but not others. I've found that folders ending with possible extension e.g. ".app",".crt" ...
0
votes
1answer
28 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
223 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
33 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
162 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
83 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
66 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
0answers
54 views

Folders and subfolders replacing and updating workflows

Morning, I have looked at previous posts re creating folders and subfolders, and other assigning permission, but trying to combining the two. Currently I have List1, List2, Library1. List1=Single ...
0
votes
3answers
681 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
0answers
395 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
101 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
689 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
143 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
100 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); ...