Questions tagged [folder]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
1k views

Upload document to a specific folder in a Document Library using JavaScript

I Want to upload document to the Document library's specific folder using JavaScript/JQuery. I tried with the below code. But I can upload documents to the root folder only not to the specific folder. ...
0
votes
1answer
26 views

How to populate 'New Document' from an existing library

I am just learning SharePoint. Basically, I have a site with 2 libraries. One is a "Master Documentation" library and the other is a "Project" library where a PM will create a document set folder and ...
2
votes
0answers
181 views

Showing Folder's modified date as most recently edited documents's modified date in that folder

I have a document library and a folder in it. And inside that folder, many documents are there. Is it possible to show the folder's modified date as the modified date of the most recently edited ...
2
votes
1answer
712 views

Remove site users assigned to folder within a document library C# CSOM : SharePoint 2010

I am working with Document Library with CSOM C# with SharePoint 2010. I need to remove the users assigned to the Folder in Document Library. I am able to find the codes via PowerShell, SharePoint ...
2
votes
1answer
765 views

2010 : Get specific File from specific sub folder using CSOM C#

I have a document library with following structure. Document Library Name |_FolderA |_SubFolderA |_FileName_A |_FolderB |_SubFolderB |_FileName_A Now I just want to update the field for ...
2
votes
1answer
1k views

Remove SharePoint Group from Folder (not from List)

I need to develop a PowerShell script to remove a group from a folder. Here's an example to illustrate my question. I have a document library named HR. In that document library, I have a folder (with ...
1
vote
1answer
102 views

Folders within a Document Library in Powershell WSS 3.0 / SP2007

I need to write a quick powershell script to do the following agains SP 2007 Show all the folders within a document library. Count the documents within each folder. Show the permissions on each ...
1
vote
2answers
1k views

Assign Existing group to Folder in document library CSOM C#

I am working with SharePoint 2010. I am trying to assign existing group to the folder in Document Library using Client Side Object Model C#. I found this code in answer. This works but it ask for ...
-1
votes
1answer
48 views

URL for managing the security of a folder

Is there a way to generate the URL for the page where you can manage the security of a folder?
0
votes
1answer
31 views

Get properties of subfolders

I'm trying to get the properties of the subfolders using jsom. Let's say: name, url, etc I'm using this: ... var ctx = new SP.ClientContext(currentSite); web = ctx.get_web(); list = web....
0
votes
1answer
563 views

How to copy all files from folders and subfolders into one folder using PowerShell script?

I have to copy all files to single location and add prefix to all files while copying to new root folder. For example, say that I have the following folder hierarchy: Folder1 File1 ...
1
vote
3answers
2k views

Creating a sub-folder in a SharePoint with Client.dll in C#

I am trying to create a list of all the folders that exist within the root folder. From there I want to implement the creation of a folder if the folder does not already exist. Is there a way to ...
1
vote
3answers
3k views

Library not sorting folders to top

When defining sort criteria for a view, there is an option: Sort only by specified criteria (folders may not appear before items). In my library, I have a view that is set to sort only by Name (for ...
1
vote
1answer
70 views

$expand a property that is inside a folder

I have 2 lists, ParentList and ChildList. The items in ParentList are in folders. Child list has a lookup field pointing to an item in ParentList. When I attempt to run the following query: /...
1
vote
2answers
657 views

How to move a file stored in a folder of a document library into the root of that document library (Sharepoint 2013)?

There are multiple articles, tutorials, and videos on the web that show how to move a file into a folder. However I cannot find references for the opposite scenario. How to move a file located in a ...
0
votes
1answer
129 views

Only folders in the root of document library

I want to create a document library where the users are only allowed to create/upload folders in the root of the library yet create/upload documents and other files types within the folders. Any ...
0
votes
2answers
726 views

Users without permission able to access folder through URL

I'm very new to SharePoint 2010, and I've been working on a workflow for folder permissions that replaces all permissions so that only a certain group is given Contribute access to the folder. This ...
1
vote
1answer
2k views

Powershell SharePoint 2010 capture Permissions of folders in library with Broken Inheritance

I am looking for some code to find all users or Ad Group who have some sort of permission in specific folder (with broken Permission) in a specific library of a team-site. With the following code I ...
0
votes
2answers
53 views

Is there any way to give another permission level to a specific folder within a document library?

I've a document library with several folders in it. Now there was a requirement to set up a new folder in it with special permissions. I'm not sure if this is possible with standard SharePoint ...
3
votes
0answers
757 views

Prevent page reload when clicking a folder in a document library

I am currently working on SharePoint Online and I have created a customer page layout that is using Bootstrap accordion. Inside the accordion I have a document library that contains folders. The ...
4
votes
1answer
2k views

How to add Folders into Document Library using PnP Provisioning Template

I'm using PnP GetProvisioningTemplate() method to create Provisioning Template from existing site(have some document libraries with folders and files) and applying to newly created sites, using ...
1
vote
2answers
130 views

Name property of Folder is blank when folder is created using REST API

I tried creating a Folder in a SharePoint 2013 library using REST API. I used the examples provided in Microsoft MSDN site using "folders" end point as well as "add" end point. Folder was created ...
1
vote
0answers
87 views

Prevent folder creation in SharePoint Online (SharePoint 2013) (including Explorer view)

I am new to SharePoint programming and I found this online: https://tjendarta.wordpress.com/2014/02/04/prevent-creating-folder-in-sharepoint-document-library-and-list/ It appears to be from ...
2
votes
1answer
114 views

How to sort list items in specific sub-folder of the list after creation of new item?

I have a list with information (news). There are severel sub-folders in the list, and according to the content, a new list item shall be put in one of those sub-folders. If a new item is created in ...
2
votes
0answers
357 views

Parent folder visibility with limited access permissions in sharepoint online

Inside a site collection, i have a subsite, and a document library within that. On the document library i have broken inheritance. In the library i have folders 1 or more deep. On a 2nd, 3rd or ...
1
vote
0answers
58 views

Document invalid/ exists error

I am getting a weird error when I am trying to upload a file in my document library. It says that the file is invalid. Exact error message: The URL '/.doc' is invalid. It may refer to a ...
1
vote
1answer
45 views

Transform list in folders SharePoint Online

I am new at SharePoint Online and I have created a list of items about clients ex: Name Email Note Alan some mail note... Adam some mail note... Is it possible that I transform ...
0
votes
0answers
13 views

Viewing Shared With Permissions on folder for Contributors compared to SCA

We are wondering why some users with 'Contribute' permissions would see different 'Shared With' permissions on a library folder compared to the SCA. We have the 'Browse User Information - View ...
2
votes
1answer
145 views

SharePoint restricted access document set not showing as restricted

I've a problem with one SP 2013 library which contains a couple of folders with many document sets. All folders except one show "unique permissions" (key icon) next to the document set that I've ...
2
votes
2answers
464 views

SharePoint 2013 Document Library Web Part

I am wondering if anyone can possibly answer by question, I have created a new page layout using the Bootstrap framework and then added approximately 5 web part zones, in each web part zone I have a ...
1
vote
1answer
81 views

Need help to replace share drive nested folders with SharePoint

We used to make use of shared network drive to share various reports to our staffs. The report administrator will create the nested folder structure and assign permission using CACLS command line tool....
1
vote
0answers
390 views

Best practices on Folder permissions

When migrating a fileshare to SharePoint there is a tendency to copy the filestructure one-on-one to a library, and to maintain a permission setup based on folders. Sometimes I read articles that is ...
1
vote
1answer
24 views

Sharing Documents through program or some automation to do that?

I have a document library with 200 folders and 200 Documents in the library (one file in each folder). I would like to share each folder with an individual in my company, so that other can not see ...
0
votes
2answers
1k views

Rename folder with SharePoint online REST API 2013

I want to rename folder via SharePoint Online REST API from CRM Plugin. Below is my code. I am getting HTTP 204 response, but the folder name is not changed. Please can someone tell what is wrong ...
0
votes
2answers
187 views

Showing a folder content in document library

In my Sharepoint page I am trying to show a spesific folder named Animals. My folder structuer is something like this: Pictures/Animals/Cats/ Pictures/Animals/Dogs/ Pictures/Animals/...
1
vote
1answer
2k views

How to move list item into folder in Sharepoint online

I created a folder and have some item in this list. So now how can I move list item into folder using JSOM. I know user can drag/drop, but I want when user create a list is always move to folder ...
0
votes
1answer
50 views

Create New Folder - 1 Of the Save Buttons Does Nothing

I'm running into a strange issue when a user tries to create a new Folder in a Doc. Library the pop up has 2 save buttons. The top save button works, but the bottom does nothing. I'm at a bit of a ...
0
votes
2answers
289 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 ...
1
vote
1answer
26 views

Modify Column View

I have a library containing folders, sub-folders and PDF files. Is it possible to display a column only visible for PDF files? I don't want this column to be visible when only the folders are ...
1
vote
2answers
3k views

Powershell script to get count of how many files are in a folder and its subfolders

As the title suggested does anyone know of a powershell script or any other way of getting the count of how many files are within a folder and its subfolders within a library? I have tried to look ...
1
vote
1answer
748 views

Filter out hidden folder using client object model in SharePoint 2010 / 2013

I need to do the same thing as on this thread: Filter out hidden folder using client object model in sharepoint 2013 However my code needs to run on SharePoint 2010 and Sharepoint 2013. I'm using the ...
1
vote
1answer
3k views

Edit the “Name” of a document but not it's link

I need to change the "Name" of a bunch of Folders but without changing their URL link. We have last year's dates in the title of the folder and need to update the dates. However, we have a document ...
2
votes
1answer
527 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 each....
0
votes
1answer
1k views

how to auto fill a column of file/folder based on parent folder's value of that column in sharepoint 2013?

Is there a way to create a workflow to auto fill a column value based on parent folder's same column value. I have the parent folder "Contracts". I assigned a category column for it called "...
1
vote
2answers
1k views

Can I Create a Folder in Sharepoint Automatically using workflow?

I want the content of the "Current Month" Folder to automatically move into a newly created folder titled after the month (i.e. "January 2016") once we get into February 2016. Is there a way to ...
2
votes
1answer
74 views

How can I see what list items are in what folder?

I have some code that shows me all the items (files and folders) in a document library, but everything appears on the same level. How can I see which items sit in which folders? Currently the output ...
0
votes
1answer
57 views

JSOM duplicate folders

i'm creating folders in sharepoint online using JSOM. And experiencing kinda funny behavior, when folders are created with duplicate with some kind of timestamp as suffix to the filename. Ie. ...
2
votes
1answer
1k views

Display all documents list items, including subfolders in webpart using JSLink, as a tree view

I'm trying to find a way to do this: In a webpart on a page, create a tree view of all items in the "Documents" library, with folders, subfolders, and items (links to items). So my idea was to add a ...
2
votes
2answers
62 views

How do I find the Lists folder on our website?

First off, I have almost no experience with Sharepoint and some limited experience with websites. I do have programming experience in Python, as well as some VB.Net and C#. We have a Sharepoint based ...
1
vote
1answer
4k 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 ...