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

learn more… | top users | synonyms

0
votes
1answer
1k 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"); ...
4
votes
2answers
867 views

Camlquery: Getting items from top root folder of list

I know how to get items from a folder inside a list (example below) CamlQuery caml = new CamlQuery(); caml.FolderServerRelativeUrl = "/folder/path"; But how do you get the items from just the top ...
0
votes
1answer
18 views

Full access at Subfolder level

I am trying to restrict few users to view only one folder in the library and those users should have access to add documents in that folder. Below is the approach I used: Provide Design, Contribute, ...
0
votes
1answer
795 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
1answer
33 views

Is it possible to move a SharePoint 2010 folder from one document library to another with a workflow?

I would have thought an overwhelming yes but it does not seem so... I know you can do it by opening in explorer but I need to do it with a workflow preferably with SharePoint designer but if it can ...
1
vote
0answers
132 views

Archiving Sharepoint folders

We have a document library wish some SharePoint folders with some documents in them. We now need to archive these folders and their contents. From what I am seeing, we cannot move the folder to ...
2
votes
3answers
1k views

Adding a folder to a list using the REST API

I have a GenericList that accepts folders as elements. I know how to create those folders in Sharepoint's interface. I'd like to be able to generate them with a script, using the REST API. I know ...
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
21 views

how can I sandbox user areas?

What if I was to create a SP2013 document library that contains one folder for every user? Users can only view and edit their own folders. The idea is that every user would have their own sandbox area/...
0
votes
1answer
210 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
88 views

How to rename an SPFolder

In an event receiver, in itemcreated and not creating, i need to rename the spfolder created. I've tried with meta FileLeafRef, it works bu url are not updated. SPFolder.item["FileLeafRef"] = "new ...
3
votes
2answers
351 views

Get file size with SharePoint 2010 REST call

Is there a way to get file size with SharePoint 2010 REST (via _vti_bin/ListData.svc) service? The same question about number of items in some folder. I don't see such fields in items corresponding to ...
0
votes
1answer
29 views

Sharepoint Folder

How do i give access to someone outside my network to a sharepoint folder, without giving them access to anything else on the site? I would like them to have access to upload and manage files to that ...
0
votes
1answer
61 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 ...
1
vote
1answer
322 views

Create folder in SharePoint Online without using SharePoint Client Model in C#

In C#, I want to create a folder in my SharePoint Online site without using SharePoint client object model. I am trying to use SharePoint REST APIs and List methods. I don't want to use Microsoft....
0
votes
1answer
139 views

implementing metadata for document library

We are moving away from folder structure in SP2013, but exactly dont know how to implement the metadata solution. I apologize if this question has been answered before. Honestly I'm short on time to ...
1
vote
2answers
8k views

How to create a Shared Folder using Powershell and set permissions

I want to create a shared folder using PowerShell and then want to set permission on it as follows: Farm account: Full access Application pool account: Full access Everyone or Authenticated ...
0
votes
2answers
441 views

Get documents inside the folder from Shared Document using powershell

I need to get all the documents name inside the folder from shared document using power shell. Thanks
0
votes
0answers
281 views

Create a folder in document library using REST (Java)

How do you create a folder in document library. I got this code right now but getting error code 403 FORBIDDEN public void createFolder(String digest) throws ClientProtocolException, IOException { ...
1
vote
1answer
814 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 ...
0
votes
0answers
30 views

I shared a Folder (within a library) with a user and gave them EDIT permission, yet they can't add new sub-folders inside of it. Why not?

When user is trying to add sub-folder it gives error: Access denied. You do not have permission to perform this action or access this resource.
0
votes
1answer
348 views

Cannot add new folder. Upload.aspx gives an 404 error

I am using SharePoint 2010. I have a library where the folder option is enabled. When I try to add a new folder I get a popup with an 404 error. When I go to SharePoint Designer and go to the ...
0
votes
0answers
233 views

BeforeProperties and AfterProperties to check Folder name changed

What field do I need in an ItemUpdating event receiver to check whether a folder's name was changed? I have tried: var before1 = properties.BeforeProperties["Name"]; var after1 = ...
1
vote
3answers
3k views

SharePoint 2013 document library folder limitation

We are working on new project with required storing >50k documents in a document library under single folder. I am wondering if there is any limitation on how many documents we can store in a folder. ...
0
votes
1answer
75 views

Count folders in list

I am not able to count folders in SharePoint 2010 list using code, Below is my code protected DataTable GetMonthlyFSSCReportDataTable(string month, string month1) // Added by Chandan 09/02/2015 ...
1
vote
0answers
187 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 ...
2
votes
1answer
298 views

Copy Document Set from 2010 to 2013

I copied a document set from a 2010 farm to a 2013 farm (using Explorer on both document libraries). On the destination document library, the document set was converted to a folder content type. I ...
0
votes
2answers
1k views

Document library permissions prevent folder creation and deletion

Is that possible to set permissions on document library folder, so users will be able to create/modify/delete files, but cannot do anything on folders (create/modify/delete). I read that I can ...
1
vote
3answers
157 views

Sharepoint 2010 - Folder Permissions

I have a document library which has the hierarchy as follows: Root |---- Folder 1 | |----- Sub-folder 1 | |----- Document 1 | |---- Folder 2 |----- Sub-folder 2 ...
2
votes
2answers
1k views

2010 - contribute with no delete - renaming folders

I have a user who has created a site with custom permissions. These permissions are basically contribute but without the delete action on list items. The users who have this permission level attached ...
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 ...
3
votes
1answer
172 views

Reserved folder names sharepoint online

I'm currently running into an issue with creating a folder titled "large_files" When using the Web UI in OneDrive for Business I've created the following folder /personal/...
3
votes
2answers
1k views

Permissions for subfolder

Here's my folder structure: Site Contents > Documents > Level 1 folders > Level 2 folders One of my "Level 1 folders" has unique permissions. Can its Level 2 subfolders inherit permissions ...
0
votes
1answer
213 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 ...
2
votes
1answer
145 views

How to use XsltListViewWebPart with folders

I have an XsltListViewWebPart on a custom page that works fine for a SharePoint 2010 library. My problem is that I need to tell this web part to list only documents in a subFolder of the library. How ...
0
votes
1answer
40 views

Where does non-SharePoint content saved to SharePoint via WebDAV end up?

Where does non-SharePoint content saved via WebDAV end up? If I use the Windows Explorer to open any site in SharePoint, I can create a folder using the Explorer and add files. But these files aren't ...
0
votes
1answer
217 views

Hide empty folders in a particular view sharepoint 2013

I have a document library in my SharePoint site. It has structure like this : Year Folder Month Folder Document Set Document I have applied my filter condition and created a new view for ...
-1
votes
1answer
1k views

Workflow for email alerts on subfolders only

I've inherited a SharePoint site that includes sub-folders in the document libraries. When a customer attempts to set an alert on a particular sub-folder, they wind up receiving alert emails for the ...
1
vote
2answers
444 views

Anti Virus sending alerts in Sharepoint Search folder

We have implemented SharePoint 2010 search, our antivirus generating following: fltxxxxx_xxxx.csv as W32.EICAR.15lc And location of the file is C:\Users\svc_sp_search\AppData\Local\Temp\...
8
votes
4answers
730 views

Should we create large number of folders within a list?

For a list having 50K item it is more convenient for user to create folders to segregate list items logically. But if we consider performance, is it recommended to create large number folders of ...
3
votes
1answer
6k views

Get Library and Folder from document guid (C#)

Information given I am using version 16.0.0.0 of the Microsoft.SharePoint.Client library. There are several different document libraries in the SharePoint site. In code, we are given a list of ...
3
votes
1answer
1k views

Add Folder to Document Library

I created a document library. I can add new document to the document library. But I want to add folder my sharepoint site. How can I do this? Is it possible?
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); request.headers().add(...
0
votes
1answer
502 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, ...
1
vote
1answer
395 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 /_api/Web/Lists?$filter=...
1
vote
2answers
399 views

Get folder item number. REST API

I'm currently using the following code to create a folder. url: http://site url/_api/web/folders method: POST body: { '__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': '/document library ...
0
votes
1answer
167 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
64 views

Extending folder with metadata, how to set up the “new” button?

I want to extend the Folder content type to add some metadata. I don't want to use DocSet because DocSets cannot be nested. Here is how I defined my content type : <!-- Parent ContentType: ...
0
votes
1answer
115 views

How to populate FolderName to Metadata (either EnterpriseKeywords or Hierarchical)

How could I possibly bind my Folder structure to some sort of metadata. That is, I am looking for a way to populate Information given to my folder in a library (Name and ideally hierarchical structure)...
2
votes
3answers
2k views

How to find all empty folders within a document library, maybe with a PowerShell script?

We have discovered a library where a user has written script to create auto numbered folders, within a library... we now have 32000 of them!!? I need a powershell script that will list the folders, ...