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

learn more… | top users | synonyms

1
vote
1answer
67 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 ...
3
votes
3answers
1k 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 ...
0
votes
1answer
33 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
63 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
212 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
96 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
249 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
733 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 ...
2
votes
1answer
37 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 ...
0
votes
1answer
2k 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
82 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
0answers
376 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
190 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, ...
2
votes
1answer
92 views

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

I have 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
64 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
1answer
310 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
1answer
614 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 ...
1
vote
1answer
92 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
58 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
1k 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
653 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
160 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
141 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
1answer
175 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
149 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
74 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
107 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 ...
0
votes
2answers
353 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
2answers
3k views

SP2010: Use Workflow to move library item into folder

I need my workflow to move library documents into a folder in the same document library. I can copy items, then delete the original item. I'm not seeing how to specify a folder or sub-folder, just the ...
2
votes
5answers
791 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 ...
2
votes
3answers
3k 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 ...
0
votes
3answers
779 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
340 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
269 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
116 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
1k 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
0answers
35 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
2answers
2k 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 ...
1
vote
1answer
2k 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
66 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
618 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
1answer
269 views

Unable to approve folder in Master Page Gallery

I am an administrator/developer and I have created a news site publishing site and all everything in the "Master Page Gallery" Needs to be approved. First I tried to use 'PublishingSite.PageLayouts' ...
1
vote
1answer
524 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
3k 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 ...
1
vote
3answers
234 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?
1
vote
0answers
57 views

Creating Document Libraries Using WebDav Interface

I am currently developing an app that uses the WebDav HTTP protocol to communicate and handle interactions with a Sharepoint site. While I can use a MKCOL request to create directories within a ...
0
votes
1answer
37 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
58 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
1answer
303 views

SharePoint 2010 Add new item link disappears with broken inheritance

Hello Stackexchange SharePoint masters :) I've been a long time reader of this marvelous source of information but at long last I could not find a solution to a problem I encountered so I figured it ...