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

learn more… | top users | synonyms

1
vote
1answer
777 views

how to change the created date of a folder in sharepoint

I have a document library, I have used a powershell command to change the created date of the files uploaded in that library. However, I also want to change the created date of a Folder which is ...
1
vote
0answers
173 views

How to get a file's very top parent folder in SharePoint 2013 document library?

If there is a file in a document library in this structure: Document Library -DocumentSet --Folder1 ---Folder2 ----File How do I get the reference to DocumentSet from the file with server side ...
1
vote
1answer
61 views

SharePoint 2010 + Explorer View and creating folders in the root

Users love the Explorer view, too much I find and there in lies my questions; I need to prevent users from adding folders to the root of a site in Explorer view...anyone know how? I do not want to ...
1
vote
2answers
2k views

Creating folder in 2013 with REST API

Related to question Creating Folder using REST and JavaScript, I used 3 approaches to create folder with REST API (native C++ casablanca lib): request.set_method(methods::POST); ...
1
vote
1answer
382 views

What is better way to enum directories and documents

I need to enum directories and documents in SP 2013. I need only those the user works with (no system or web files) To get initial lists omitting non-user ones I inquire ...
1
vote
1answer
25 views

A Synced file between two sites

First i have to say I am very new when it comes to Sharepoint but and a skilled developer. I would like to sync a file between two different share sites. The purpose for this is because we have a ...
1
vote
1answer
125 views

Document Center Site in SharePoint: how to structure a large amount of files in the Document Center?

I am supposed to migrate a large amount of files from a current Shared Folder to a SharePoint team site. I am looking at the best way to do this and the Document Center as a subsite seems to me as a ...
1
vote
1answer
348 views

Create a SPFolder programatically, how to create folder name encoded

I need to programmatically create a SP Folder (this is not via Object Model!) The SP folders do not allow The file or folder name ... contains invalid characters. Please use a different name. Valid ...
1
vote
0answers
122 views

Sharepoint 2013 online custom folder limit

Got a noob question regarding folders in a document library. I want to limit the amount of folders a user can create inside a document library. Is there a way to do this as I can only find the ...
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
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 ...
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 ...
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. ...
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 ...
1
vote
0answers
287 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 ...
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 ...
1
vote
0answers
77 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
461 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 ...
1
vote
0answers
246 views

“Choose folder” dialog in document library reacts really slow

While uploading a document into a library I want to choose in which folder the document should be uploaded. When I choose a folder the PickerTreeView.aspx answers really slow. Example image where ...
1
vote
2answers
550 views

Can i filter folders to show on different views

How can i make it so that certain folders appear on different views? ex: View 1 (Folder A, Document A1, Document A2, Document A3) View 2 (Folder B, Document B1, Document B2, Document B3) View 3 ...
1
vote
0answers
2k views

How to get RoleAssignment programmatically from a SPFolder without .Item

I need to get the permissions associated to a Folder. I can get the folder by the getfolder method but the item has the .Item property null. When i Access to the .DocumentLibrary i get the ...
1
vote
1answer
871 views

CAML Query for getting all files underneath a folder with treepath

I tried the U2U Caml Query Builder but I think it doesn't use the Recursive-Attribute the right way. I'm trying to build a query for getting all files underneath a folder (there a several folders ...
0
votes
2answers
3k views

Retrieve folders and sub folders from document library by REST call

I need to get a list of folders and sub folders from document library. I feel that approaching this problem using REST call would be easier than the traditional CSOM query. Please suggest a relevant ...
0
votes
2answers
1k 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
4k views

Use workflow to move document within document library to different folder in same library

I am looking to use a workflow to move documents within a document library to a specific folder in the same document library (this to manage access rights on different documents via the libraries). ...
0
votes
2answers
1k views

Lock down a folder

I only want to give permissions to a few people or a small group of people - this is only for one folder. Can I do this? If so, how is it done?
0
votes
3answers
78 views

Folder with no permissions, disappeared

I was editing the permissions for a folder on sharepoint, and accidentally gave it no permissions. And error came up, and now the folder is gone. Is there anyway to salvage the folder? Thanks
0
votes
2answers
8k 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
456 views

SPFolder versions?

I am 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
2answers
4k 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
32 views

How get items in two subfolders?

I need get items from two different folders in a list on Sharepoint 2010, I already have the following code: SPList List = web.Lists["MyList"]; _titleFolderDispositivos = "firstfolder"; // ...
0
votes
3answers
324 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
2answers
56 views

Security performance Issues

I'm kind of new in Sharepoint and I've read that you have performance issues if you set the security at the document level but this happen if you create let's say 3 folders in the library and then you ...
0
votes
1answer
712 views

How do I convert an existing folder into a Document Set?

So I have read all over the place that it is possible to convert an existing SharePoint 2010 folder to a Document set. There is apparently even a tool to make sure that this goes smoothly (SharePoint ...
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 ...
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: ...
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 ...
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
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
49 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
620 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
723 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
95 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
592 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
39 views

How can I prevent a specific group from printing a certian document?

I have a SharePoint site with few folders, each folder has users with permission to edit it and users with permission to read only. I want that the users with the 'Read Only' permission won't be ...
0
votes
1answer
28 views

Best practice for a new site - Sites or Subsites?

We have just setup a new 365 environment and are moving data from existing file server shares to sharepoint / onedrive. We are a parent company that manages 5 subcompanies - with 5 to 10 users at ...
0
votes
1answer
85 views

Powershell script that outputs all folders from a Site Collection, Site and Subsites and the owners of each

I have been scouring google and could not find anything to go off of in regards to my task. Like the title suggests, I'm trying to utilize a powershell script to output all folders residing in a Site ...
0
votes
1answer
49 views

Recursively search for files based on metadata

I'm working on a SharePoint instance which consists of one site and 4 sub-sites. Each one of those sub-sites contains multiple files, separated into multiple folders. What I'm trying to do is write a ...
0
votes
2answers
169 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
1answer
888 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"); ...