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

learn more… | top users | synonyms

0
votes
1answer
37 views

Copy a document library within the same site using powershell

I've been looking on the internet and all I find are "how to move one document library from one site to another". My question is, is there a PowerShell script where I can copy a document library, ...
0
votes
1answer
30 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"; // ...
2
votes
2answers
131 views

How to tell if an Item is a SPFolder or DocumentSet (through code)

Currently i am creating an Export and Import Tool for SharePoint 2010 to 2013. The Export Tool exports a whole list or DocumentLibrary to a File. In my DocumentLibrary i have serveral Document Sets. ...
0
votes
1answer
653 views

Get sub folder from document library using SharePoint.Client.dll

I need to get the folder named Arshad from SharePoint Document library folder. The path of the sub folder is : http://url/Shared Documents/Arshad I need to access the folder using SharePoint ...
1
vote
0answers
90 views

How to create folder in document library using batch processing

I need to create bulk folder(~200) in document library. I have tried using console application but it required more time to create then i have decided to create using batch processing as suggested in ...
1
vote
1answer
52 views

How to change content type of several folders (or subfolders) at once in a document library?

I created several content types for folders to define custom default views depending on the content of the folders. However it is quite cumbersome if I need to click on Edit properties for each ...
0
votes
0answers
24 views

Can user see checked out files from folder when permissions from folder have been removed?

I have a scenario in Sharepoint and I need someone’s expertise and an explanation. In this scenario, user Owner has Full Control perms and Contributor1 has Contributor perms. The team also has a ...
1
vote
1answer
161 views

How to prevent users from renaming a folder

I have set up a folder structure to manage documents. One requirement is to have different permissions on each folder. Basically no real magic but there is one issue. I need to prevent users from ...
0
votes
2answers
150 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
0answers
24 views

How To Use Document ID to Auto Assign Directory

So, I am using a SharePoint site with various folders, documents, etc, the norm, and I currently have to tell SharePoint what Task Order Folder that the file belongs to, but I should have to because I ...
1
vote
0answers
36 views

Pictures Gallery and PrettyPhoto

I have a SharePoint dynamic projects picture library with path /resources/gallery. The sub project folder contains images of project activity and I wanted to present the content similar to ...
0
votes
0answers
159 views

How to update folder properties based on content type using C# Rest code

I have a document library, say, People, with a custom content type MyCustomType with fields Location, Cost.This library has a folder say X. X has a subfolder Y. Y has 3 subfolders z1,z2,z3 at the same ...
0
votes
2answers
127 views

Share parent folder properties with child files e.g. word, excel

I'm currently looking to set up a sharepoint library which is to store the multiple files for separate customers. The biggest issue i'm facing is to integrate it fully with the search functionality ...
2
votes
1answer
337 views

SharePoint 2013 CSOM where is Folder.MoveTo?

I have to implement a functionality of moving a document folder and was hoping to use Folder.MoveTo; But I don't see it in the Microsoft.SharePoint.Client and Microsoft.SharePoint.Client.Runtime for ...
0
votes
0answers
73 views

Hide a content type from the new document menu

I have created a content type contenttype1 containing a numeric columns that I have associated to a folder in one of my library which help me to change the default alphabetical folder ordered to a ...
1
vote
1answer
117 views

How to add a hyperlink which opens a text file into a folder of a document Library

I've a requirement to add a link to a txt file in a folder of a document library such that user who want to upload content to the folder may click on the link which will open the file in a separate ...
1
vote
0answers
63 views

Issue with deleting a SharePoint 2013 document library folder through call up menu

Recently some of our users reported an issue in which they are receiving an error message as shown below while trying to delete a folder from a document library using the call up menu associated with ...
0
votes
0answers
147 views

SPList.RootFolder.Properties is Null on some lists

I have a weird problem in production that I've been able to identify (and fix) but I don't know how to identify the cause. In this project every list is created by XML creating a Content Type, list ...
1
vote
1answer
77 views

Workflow update list item 'write created date in date field' does not apply to items within folders

I have a document library that receives email and splits email and attachment grouping them with a folder (all by design in 2013 version). I have created a very simple workflow (SP designer) that ...
1
vote
0answers
182 views

Folder based retention policy

I have a SP2013 document library in which I need to set up different policies based on date to where a document would be deleted. I found an OOTB solution but can only use that policy on one folder. ...
1
vote
1answer
66 views

How to assign different content types to different folders located in the same document library

I am new to sharepoint , and I have an issue with content type. I have 2 content types ( content type1 and content type2) created for my library1, library1 has 2 folder: folder1 and folder2. I have ...
1
vote
0answers
140 views

Bulk Create folders in document library using client object model

I want to create folder on SharePoint document library using client object model (C#). Below is the code which does that. ContentTypeCollection listContentTypes = list.ContentTypes; ...
0
votes
0answers
12 views

Add “Destination Folder” in the edit form

I would like to add the field "Destination Folder" in the edit form in order to move a document in another folder. Is this posible ? Can you help ? Thanks !
1
vote
1answer
357 views

breakroleinheritance for a folder powershell csom

I am trying to break permission inheritance for certain folders in my document library in office 365. However when $folder.BreakRoleInheritance($false) is executed I get an error: Method ...
1
vote
1answer
223 views

give permissions to folders o365 powershell csom

Have this code function GetChildFolders($RootFolder) { if($count -ne 1){ $folderName=$folderName+'\'+$RootFolder.Name ...
0
votes
0answers
148 views

Cannot create folders in document libraries

I noticed a strange problem, the "New Folder" ribbon command does not work in the publishing pictures library. The site is a publishing site, but created from a customized sitedefinition. When I ...
1
vote
0answers
208 views

Changing library default folder content type

I needed a folder with some additional info (lookup) so I've created a custom folder content type. Now my question is, is it possible to set this custom content type as default for folders (so that ...
0
votes
3answers
279 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
1answer
64 views

How can I get the folder level for a publishing page

I am using SP2013 standard on-premise. On a site collection publishing infrastructure is activated. Under "Pages" library nested folder structure is add and multiple aspx files are stored. We applied ...
0
votes
2answers
46 views

Alerts for new folders only

Would anyone know if there is a way to create an alert or a approval workflow anytime a folder is created in a document library. I am not interested in the actual documents at this point, just the ...
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 ...
1
vote
3answers
64 views

Need advice to get rid of subfolder-tree structure

Our user wants to build a Knowledgebase portal. He designed the structure with folder-subfolder's concept, i.e., Main Category > sub category > subsub category, etc. Permission inheritance will ...
0
votes
0answers
186 views

SharePoint 2013 - Unable to create Folders

We are in process of migrating from SharePoint 2010 to SharePoint 2013. We have come across an issue in our UAT environment with creating New Folders in document libraries. Some more information ...
1
vote
0answers
79 views

Changing from Metadata to Folders - files not appearing in library

I've been requested to remove the Metadata that was configured for a meeting site's document library. It was structured around Year and Month metadata tags. There was a big issue with being unable ...
0
votes
0answers
245 views

Update document library folder columns in sharepoint code

How to update document library folder columns in sharepoint C# code? I want to update Test column folder properties. SPFolder newItem = item.Folder.SubFolders.Add(title); newItem.Update(); ...
0
votes
0answers
32 views

Missing Folder in Sharepoint

I am missing a folder that was set up and the documents are missing. How can I locate them? I check the recycle bin and it was not there
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 ...
1
vote
2answers
95 views

How can I use SPFolder.WelcomePage?

I found that I can set this property for any folder in a library. But what does it do? I thought I would get redirected to this welcome page when I click in the folder. Instead nothing is happening. ...
0
votes
1answer
781 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
781 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
655 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
32 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
118 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
872 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 ...
0
votes
1answer
196 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
80 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
321 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 ...