Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [folder]

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

2
votes
2answers
23 views

Can a user with Contribute in a folder add a document when they have r/o for the library?

Imagine User X is in Permission Group A. A document library is created and Group A have read permission only on the library. A folder is created in the document library and shared with User X with ...
2
votes
0answers
24 views

Can't delete file from within a Document Set

I'm experiencing problems deleting files that I put in my Document Set. Every time I try to delete it, it gives me the following error message: Sorry, something went wrong The server has ...
1
vote
1answer
26 views

Content Organizer Rulers For Folder Based Content Types

I am thinking that I already know the answer to my questions, but am hoping that I am wrong. Can I setup a Content Organizer Rule on a Content Type based on a folder? So a folder content type, NOT a ...
2
votes
0answers
21 views

Prevent folder creation at top-level only?

We are running SharePoint online and I've got a question. So we all know about the: Library Settings > Make "New Folder" command available toggle Well, this propagates across the entire document ...
1
vote
1answer
19 views

Prevent SharePoint from adding “Type” column to default view

We have automated deployment of webs and lists with PowerShell (PnP). We noticed that some of our views have got the "Type" (DocIcon) column visible but we did not script it to include that column in ...
2
votes
1answer
25 views

Cannot Remove Permissions on folder (SPO)

I have written a script to create folders in SPO, this script creates a group, then a folder and assigns the group permission to the folder. The only issue is that the folder is created by the user ...
1
vote
2answers
57 views

CAML Query for retrieving only document library items in only one folder

I'm trying to access the documents in a specific folder in a SharePoint document library. the library has multiple folders but I do know the name of the folder. here is an example of the file tree (I ...
0
votes
2answers
16 views

SP Folder Status Indicator

Would it be possible to create a column on a SP folder as a status indicator i.e. review completed. Thank you.
1
vote
1answer
95 views

How to create folder with custom Content Type in REST with SPFx?

I am creating an SPFx solution to create folders with nested folders. This solution is working fine. but I want to attach some metadata to my folder. For this reason I have created a new folder ...
0
votes
1answer
68 views

How to get all Folders tree of a specific user with all the folders( or files ) permissions?

I am new to the SharePoint development. I want to write a C# code that will scan the sharepoint site and return the tree structure of all folders for specific user. It should also show the ...
2
votes
1answer
48 views

Allowing folder creation in Document Sets but not within the containing Document Library

I have a number of Document Sets within a Document Library. Is it possible to prevent folders from being created with the "+New" button in the ("root" of the) Document Library itself, while ...
0
votes
1answer
15 views

Question on unique permissions count

I am having a folder with 100 documents. Now I am breaking inheritance on this folder and applying unique permissions on it. Yes, all the documents under this folder will have same permissions as ...
1
vote
1answer
91 views

Built-in web part for a specific folder

Is it possible, in a Sharepoint page, to add a built-in web part configured to show only a particular folder of a Document Library? I have a page where I want to show 3 different web parts that ...
1
vote
1answer
145 views

Display current folder name on Document Library web part

I am displaying a Document Libray Web Part (which contains folders) on a subsite homepage. When I click on a folder to show its contents, the Document library header still says "Documents". It gives ...
0
votes
0answers
8 views

SharePoint Online, Document Set, add folder with subfolder in Default Content?

Subj. As I understand we only can add Folders on first level.. Maybe You know workaround to include subfolders too? Or I need to use code to copy them programmatically.. Best regards, Gennady
0
votes
2answers
45 views

migrate document from folder to another site's document library

Using SharePoint Online... I want copy/move documents from a folder to document library of another site. want to automate this, as there are 100+ folders..
0
votes
2answers
81 views

Problem with FolderCollenction.GetByUrl

I'm trying to write code that uploads files to a certain folder on my SharePoint site. Everything worked fine until a few days ago. My problem is with this line of code: Folder byUrl = Root.Folders....
0
votes
1answer
28 views

Running retention policy against folders

I have retention enabled for folders. It is set to run a workflow on any folder after it is a day old. and to run it once a day. However it doesn't appear to be working. I have both the "Information ...
0
votes
0answers
20 views

SP Online : Flow in PowerApps

I want to create folder structure with Flow, theres no problem. But in powerapps I want text field where ill write name of a main folder. Is there a way how can flow get the name from powerapps? Or is ...
0
votes
2answers
41 views

SP Online : overview of all folders and documents with permission

For my team site I changed permissions for different folders and documents. And now I need some kind of overview of permissions and folders/documents. It there a way where can I see all of this or a ...
0
votes
2answers
564 views

Create folders in site pages - Possible?

Is there a way to sort these pages by folder? Site pages in site contents is looking a little cluttered. Not looking to add more columns. Its possible in a document library just not sure about site ...
0
votes
1answer
50 views

Sharepoint Hierarchical Structure

I'm interested in having a hierarchical data set of folders, files, sub-sites etc. from a certain site that I would eventually manipulate/visualize in R. (Data.trees and such) I've done this ...
0
votes
1answer
117 views

List Folders, Subfolders and Files Correctly for UI from CSOM

I need the following format when recursively retrieving folders, subfolders and files. Basically reproduce a "Windows Explorer" type of view with the data for the Website UI via C# and CSOM. Any ...
0
votes
1answer
33 views

SP Online : structure of folders

Can I somehow add a button that creates structure of folders? I dont want to make for every project same structure. Is there any way to make it easier? I mean now i can add only one folder but i ...
1
vote
1answer
57 views

Sharepoint Online. Prevent root-level folder deletion with stopped inheritance

I am using Sharepoint Online and would like to create shared folders structure for our the departments. I created a library named "Departments". For the Departments library people have only "...
3
votes
0answers
70 views

Content Type of Folder incorrectly set in Document Set

I'm experiencing an issue that is directly related to this question posted here (https://collab365.community/forum/topics/sub-folder-content-types-set-wrong-in-document-set-library/): I have a ...
1
vote
0answers
12 views

replace files with the same name in libray rut or folders

i use folders in sharepoint libraries for the follwing reasons: when library has more than 2500 files when i want different permision for some files when i want to sync some files. and i ...
2
votes
2answers
701 views

SharePoint REST API Document Library - filter by folder name

I'm running a JavaScript script that updates permissions on folders in lists and document libraries. To do this I need to get the ID of the item I want to update. The folders all have unique names ...
0
votes
0answers
9 views

Mapped drive not changing name of folder for initiated workflow

So I'm looking to create a new folder in a mapped drive to a document library. The document is created in both but I have a workflow associated with creating a new folder in the document library. ...
0
votes
1answer
24 views

Move customized document library

I have a customized document library on a site but I have to move it to another site. How can I do this (and keep meta-datas, and form skeleton).
0
votes
0answers
43 views

Metadata appearing on standard folder in SharePoint Online

I have noticed a strange behavior on one of my Sharepoint Online library and I wonder if someone can find an explanation. The library is pretty standard with no custom content types. I have only a ...
0
votes
0answers
132 views

Sharepoint 2016 Create Folder via REST API fails with internal server error 500

[Also cross posted at https://social.technet.microsoft.com/Forums/office/en-US/8bb91656-9216-4118-8034-648f506f40e0/sharepoint-2016-create-folder-via-rest-api-fails-with-internal-server-error-500?...
0
votes
0answers
489 views

No Longer Able to Tag Folders in SharePoint Online

I realized today that as of VERY recently (the last couple weeks), I am no longer able to add tags/metadata to folders. Files still have tagging ability, but not folders. I am working in SharePoint ...
0
votes
1answer
99 views

Assign Approvers based on folder?

I'm working on implementing a workflow which will start automatically on change/creation (which is working). The issue is that there are a few folders which need cross-department approval. Is there a ...
0
votes
1answer
641 views

How to restrict access to documents in a folder so they can only edited and viewed by the user who uploads the file?

I have a file structure with a parent folder, two sub-folders, and multiple PPT documents in each sub-folder. The documents need to be able to move between the two sub-folders, but the tricky part is ...
0
votes
1answer
37 views

Creating a windows folder from Sharepoint form column value

I am not sure if this is possible in sharepoint 2013. But just wanted to see if any one has any thoughts on it. So I have a basic project request tool and when ever a user puts in a request a unique ...
0
votes
1answer
316 views

How to get List item name using csom

My scenario: I have a list that i am iterating to get all subfolders files and updating those files. I cant seem to get to the list item name to pass a parameter for FolderserverRelativeUrl. foreach (...
0
votes
1answer
247 views

Restricting Approval workflow only for files within a folder or document-set in SharePoint online

I have a SharePoint online document library with multiple folders/Document-sets. I want to allow approval to files within only one folder/document-set of the document library. The workflow should not ...
0
votes
1answer
15 views

User changes folder name in SP 2013 and link doesn't work?

This might be a simple one, but has created a folder with various files, puts a link to it in an email, but if they change the name of the folder the link doesn't work. I thought that links in SP 2013 ...
0
votes
2answers
187 views

File and Folder level Permission in SharePoint

I am working on a live project for an organization and am stuck with file level permission for users. My scenario for permissions are below: I want to create a permission level for document library ...
1
vote
1answer
2k views

How to get list item for a file from its URL in CSOM?

I have a document library with files and folders. I want to obtain metadata for specific file or folder with known URL. For this purpose I need an access to list item associated with this file or ...
1
vote
0answers
150 views

Site Content and Structure Not showing List folder when moving Items

I am attempting to move items in a list that has 7500 items to a folder within that same list. I have previously done so to two different folders, named Archive 2015 and Archive 2016. However now the ...
1
vote
1answer
22 views

Is there a way to automatically update a list of contents of the documents in the nested folders?

So I have a master folder with many subfolders within. I want to maintain a list of under which folder a particular document can be found. I want to maintain separate folders for different topics, but ...
0
votes
2answers
791 views

How to list folders first in a Documents list

Yes, OK folders=bad. With that out of the way, what's the best way to have folders appear first in a Documents library then have the documents sorted alphabetically? Right now I'm sorting on Title ...
3
votes
2answers
69 views

Create folder in recently created folder

I'm using the function below to create a folder and I'm trying to make it also create a subfolder within the newly created folder. CreateFoldersbyparent("abc","") CreateFoldersbyparent("abc","\test") ...
0
votes
1answer
1k views

breakRoleInheritance and addRoleAssignment not working using rest api query

I have a site accessible by everyone in our organization, inside this site, one library. In this everybody can create folder to upload the files, this is happening through provider hosted app using ...
1
vote
1answer
82 views

Set All Newly Created Folders in a Document Library have unique Permissions

One of my users asked if it is possible to set a document library so that all newly created folders do not inherit permissions from the parent library. Once the folder is created, you must break ...
1
vote
2answers
415 views

Retrieve List Item from a SP List item folder using CSOM

I have created some folders in SharePoint 2013 List and added some items into this. Now I want to fetch items from a specific folder using javascript or maybe REST. Please provide me with the solution....
0
votes
1answer
46 views

How to dowload folders from a Documents Library using code?

Here's the thing: I need to add a button in the page that users can use to download a whole library to their computers.. BUT they must not be able to edit these folders! So I cannot make the button ...
1
vote
1answer
140 views

Change Destination Folder on specific custom view

I am trying to customize a Document Library Custom View so it shows the items in a specific folder. I managed to do that with SharePoint Designer by changing the Caml Query: <View Scope="...