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

learn more… | top users | synonyms

10
votes
9answers
32k 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?
8
votes
5answers
6k 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 ...
7
votes
3answers
5k views

Show folders in document library that have a filter view

I am using SharePoint 2010 I have a document library with a view that Filter items only when a particular Column is true. The problem now is that when I have a filter in my view the folders in my ...
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 ...
6
votes
2answers
274 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 ...
6
votes
2answers
5k 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 ...
5
votes
3answers
3k views

“+ Add Document” link missing for some users

Running SharePoint 2010. I have a library that has a folder for each user. Each user has contribute rights to their own folder. However, for some users, even if I give them Full Control, they never ...
5
votes
2answers
6k views

How to move items between folders Document List?

Is it possible to move documents between different folders in Document List? EDIT: I mean possible for a sharepoint standard user, not an admin. For example, suppose that my Document Library has two ...
4
votes
2answers
3k views

SPFolder vs SPListItem

I've trying to build a tree view which will show a Sites Lists and folders. This is an external application so I have to communicate with WSS3 through web services. Site |-List | |-Folder | ...
4
votes
2answers
2k views

Make a folder in a document library read only without using security

I have a document library with about 25,000 folders in it, each folder represents a task in our task system and is used as a document repository for those tasks. Of the 25,000 tasks about 22,000 are ...
4
votes
3answers
2k 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 ...
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) ...
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 ...
3
votes
2answers
3k views

When I create a folder programmatically get the error “Invalid item data — missing FileRef”

I am trying to add programmatically the desired Folder. I do the following foreach (SPListItem reparto in reparti.Items) { var folder = dl.Items.Add(dl.RootFolder.ServerRelativeUrl, ...
3
votes
3answers
6k views

Why are documents inside a folder not showing when a filter is applied?

I added a custom column called Project (string) to a Document List. I then set different views in different pages to filter on that column. The problem is that, when applying the filter, documents ...
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 ...
3
votes
2answers
1k views

XsltListViewWebPart forgetting current web when being rendered on Layouts page

I'm adding a very simple XsltListViewWebPart to an application page. Like so: XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" }; ...
3
votes
2answers
7k views

Special Characters in sharepoint 2010 file/folder name?

What special characters are allowed and not allowed in sharepoint file/folder names?
3
votes
1answer
2k views

Using Folders Within Document Sets in SharePoint 2010

With the New Folder option turned on for a document library that has document sets enabled, the New Folder option is only available on the library itself, not within a Document Set. When viewing in ...
3
votes
1answer
206 views

Trouble copying a folder with a workflow

I'm using a "display" flag for people to only see what they care about, when display is set to "no" i just copy the item to a different list and remove it from the original list. I am using a ...
3
votes
1answer
325 views

How to parse a SharePoint URL to get CSOM objects?

Let's say the only input I have from the user is the full URL to a folder in a Document Library called "Public Documents": http://intranet.contoso.com/SubSite/PublicDocuments/Folder/SubFolder/ Using ...
3
votes
2answers
2k views

Triggering a Workflow When a Folder is Created and not A File?

I'm new to workflows, so please excuse the novice question. I set up a workflow on a document library configured to send an email when a new item is created. When I create a new document in this ...
3
votes
1answer
92 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 ...
2
votes
4answers
7k 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 ...
2
votes
3answers
4k views

How to propagate metadata from a folder into a document?

I have read that SharePoint 2010 will push metadata from a Folder into documents provided both share the same site column, i.e.: Both my folder ("Test Folder Type") & document ("Test Document ...
2
votes
5answers
963 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
1k views

Deactivate email-notifications for SPLists only temporally (and programmatically)

So here's my Problem: I have a list which is used to notificate user. (Announcements) So it's essential that the email notifications work for most of the time. The announcement (items) get saved in ...
2
votes
1answer
166 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); ...
2
votes
2answers
4k views

Change Document Library folder's Modified timestamp to latest timestamp inside

I have a Sharepoint 2010 Document Library with a range of subfolders and some files within each of them. The problem is, right now every subfolder has the same Modified timestamp, and I want each ...
2
votes
2answers
748 views

Which special Characters are not Allowed in SharePoint 2013 Files\Folders?

I am working on SharePoint Admin and Development part. One of our customer is using SharePoint 2013. User is getting Special character issue while uploading file in SharePoint 2013. We are searching ...
2
votes
1answer
132 views

SPFolder.MoveTo functionality in JavaScript

In SharePoint 2013 I'm trying to add a script to move a folder from it's current location to a different parent folder while keeping the rest of the file structure the same. I am adding a button to ...
2
votes
2answers
280 views

Separate indexer for huge document libraries

Need some help/advice for SP search setup. A single-server MOSS 2007 farm hosts sites for 5 departments in the company. A document library corresponding to one of the department sites is growing at a ...
2
votes
1answer
1k views

How to enable “New Folder” under Team Discussion?

I'm quite new to SharePoint. Currently running SharePoint 2010 in our office. I need to setup folders in the Team Discussion so we can group various topics under each folder. I saw the New Folder ...
2
votes
1answer
100 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" ...
2
votes
1answer
2k views

GetListItems on Lists.asmx returns all items, not just the specified folder

I'm trying to call the Lists.asmx webservice to retrieve only those items within a Folder named "Admin" in my SharePoint list. The webservice 'works' for me to some degree, but not as I expect. The ...
2
votes
1answer
38 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 ...
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 ...
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 ...
2
votes
1answer
358 views

Upload a file into new document upon folder creation

I have a document library in which I want to store folders (people). Each folder have some metadata (person's properties). Then in each such folder I will hold documents (files) associated with ...
2
votes
1answer
287 views

Is it possible to translate folder names?

Is it possible to translate folders in SharePoint 2010? I know a lot of things are translated OOTB in SP2010 after installing language packs (like content types, columns, document library names ...
2
votes
1answer
335 views

loop splistitem in folder in powershell

I'm trying to loop all splistitem in a folder of a library. I can get my library and have folder but i'm not able to get the items inside the folder. When i display the listitem for folder, i've the ...
2
votes
1answer
300 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' ...
2
votes
2answers
716 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 ...
2
votes
0answers
262 views

Email to Document Library - Place attachments in sub folders

I am having issues with scheduling Crystal Reports to go into specified folders so I am taking a different route and using emails & attachments. As the title suggests, I'd like to automate where ...
2
votes
0answers
652 views

What could be causing an unexpected error when trying to edit a root folder name? [closed]

I am using sharepoint 2010 publishing site. When I go to the gui part of sharepoint 2010(allitem.aspx) and go to one of my libraries, check a folder, go to the ribbon and hit edit properties and try ...
1
vote
3answers
2k views

The advised place to put images and css files

I've been looking on the net for some advise and explanation about where to put my custom css and images for the master page in sharepoint 2010. I'm now busy with branding the portal and i'm a bit ...
1
vote
3answers
299 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
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?
1
vote
1answer
124 views

How do you move a folder into another folder

In a documents folder, how do you move one folder (ex. human resources folder into a corporate office folder)
1
vote
3answers
110 views

Limiting permissions to list-items and library files without using folders

I have some files in a flat library, i.e., no subfolders, that need to have access restricted to a couple usergroups. I understand that one way to do this is by placing items in a subfolder in the ...