Skip to main content
Share Your Experience: Take the 2024 Developer Survey
7 votes
Accepted

Create folders in site pages - Possible?

It is possible but you have to enable folders in advanced settings in the library settings. Go to library in question > Library Settings > Advanced settings > Set 'Make "New Folder" command ...
Johan Brännmar's user avatar
6 votes

How to move list item into folder in Sharepoint online

Example: how to move list item into a folder via SharePoint JSOM API /** * Move ListItem * @param {SP.ListItem} list item * @param {string} targetFolderUrl - server relative url of folder where ...
Vadim Gremyachev's user avatar
5 votes

Share folder with external users

This feature is yet not available in SharePoint, but product team has confirmed that they are working on this feature...below is comment from SharePoint User Voice forum WORKING ON IT · ...
Siddharth Vaghasia's user avatar
5 votes
Accepted

How to add list item inside a folder using REST API

The REST API does not have complete support for folders - particularly when it comes to working with list items. While it's quite possible that there is a way to get this to work using the REST API, ...
Rob Windsor's user avatar
  • 12.7k
4 votes
Accepted

How to create SharePoint Folders programmatically?

Considering Folder is at one level, and not folders inside folders. This code will work. Also make sure, in list setting -> Advance Settings -> Make "New Folder" command available? is set to Yes. ...
Gaurravs's user avatar
  • 3,556
4 votes
Accepted

Share folder with external users

No, it's not possible to share folders with "No sign-in required" at this moment. Anonymous links are available only for individual files or document. In future updates to Office 365 it will be ...
Gautam Sheth's user avatar
  • 30.9k
4 votes
Accepted

Folder in Folder Content Types

Create your own Content Type (MyFolder) which inherits from folder. Add your newly created MyFolder to your library, and you're good to go.
Benny Skogberg's user avatar
  • 25.5k
4 votes

Sharing folders on SharePoint and variance between "Shared with" and "Advanced"

'Shared With' contains permissions inherited from parent sites, SharePoint Groups, and AD Groups that have access. When you click advanced, it will show these groups and individual users that have ...
James Grizzle's user avatar
4 votes
Accepted

Remove permission on a folder by csom

this worked in my scenario. List companylibrary = clientContext.Web.Lists.GetByTitle(CompanyType); Web site = clientContext.Web; companylibrary.BreakRoleInheritance(...
Keshav Taurah's user avatar
3 votes

How to add list item inside a folder using REST API

As Rob very correctly mentioned, REST API doesn't have complete support for folders. But using the old /_vti_bin/listdata.svc, you can create a list item and add it inside a folder. For that, you need ...
Gautam Sheth's user avatar
  • 30.9k
3 votes
Accepted

SharePoint online, document library, folders permissions

Yes quite possible and easy!! Open your Library where your 100th folder is there and select it. Click share after you select your desired folder . A popup comes , click on 'can edit'-->then on '...
OM-ॐ's user avatar
  • 661
3 votes

Remove permission on a folder by csom

Use this to break role inheritance and remove all permissions. //method defined by CSOM public virtual void BreakRoleInheritance(bool copyRoleAssignments, bool clearSubscopes); //it's use ...
Vainktesh Kumar's user avatar
3 votes

Create folders in site pages - Possible?

The idea behind a publishing site is that you create subsites for sections or areas of your site. For example About Us, Products, Services, News. Since each sub site will have its own Pages library, ...
Heather Solomon's user avatar
3 votes
Accepted

Question on unique permissions count

It will be treated as one unique permission. Setting folder permissions is a best practice, consider this article - Best practices for using fine-grained permissions: Only set unique scopes on ...
Sergei Sergeev's user avatar
3 votes
Accepted

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

I'm not sure if you are using SharePoint server object model or CSOM, but idea is the same. You need to crawl everything starting from the site collection level, to subsite and then to document ...
Mario Znika's user avatar
3 votes
Accepted

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

You need to modify your existing endpoint include the details of the created folder by including select and expand OData operator as below: "/_api/web/folders/add('${libraryName}/${clientName}')? $...
Gautam Sheth's user avatar
  • 30.9k
3 votes

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

Yes, this folder has now unique permissions and User X has now Contribute permissions here, so he can add, edit and delete files and folders.
Zdeněk Vinduška's user avatar
3 votes

Delete folder with subfolder and files from SharePoint Online with a Macintosh

If you or your admin knows PowerShell, you can use the SharePoint PNP library to delete the folder: #if not already installed #install-module sharepointpnppowershellonline #requires PS 4.0 or later....
Mike Smith - MCT's user avatar
3 votes
Accepted

Will SharePoint automatically create intermediary folders when adding a file through the REST API?

Would SharePoint automatically create all three subfolders? As per my analysis SharePoint REST API will not create all three subfolders automatically. If folder1 is not exist in the document library ...
Ganesh Sanap - MVP's user avatar
2 votes

Easier way to move files up a level?

Open Sharepoint in Internet Explorer. For whatever reason, the Open with Explorer option doesn't work with non-Microsoft browsers. Library -> Open with Explorer Drag files/folders across.
Josh Hawkes's user avatar
2 votes

Creating Nested Folders via Client Object Model

var list = ctx.GetListByTitle("MyList); list.EnableFolderCreation = true; list.RootFolder.EnsureFolder("NewFolder1").EnsureFolder("NewSubFolderToFolder1"); ctx.ExecuteQuery();
Rune's user avatar
  • 249
2 votes
Accepted

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

You click the little ... ellipsis menu on the folder and click Share. From that pop up, click Shared With and from there click Advanced. On the corresponding screen, click the Stop Inheriting ...
Eric Alexander's user avatar
2 votes

How to add Folders into Document Library using PnP Provisioning Template

To create folders within a document library, you must enter the folder within the given ListInstance. Folders can be nested to create sub-folders. <pnp:ListInstance Title="My Doc Lib"> <...
Ushka's user avatar
  • 277
2 votes
Accepted

Library not sorting folders to top

I discovered that if the library setting Make "New Folder" command available? is set to Yes, folders sort as described/expected: at the top of any ascending sort, or the bottom of any descending sort, ...
Dan Henderson's user avatar
2 votes

Rename folder with SharePoint online REST API 2013

The endpoint you are using cannot be used to change the Name of the folder because the Name property is not editable. Make a GET request to get the item id/URI and the type of the folder. ENDPOINT ...
Unnie's user avatar
  • 8,819
2 votes
Accepted

Need help to replace share drive nested folders with SharePoint

If we're talking reports from SSRS, then an option would be to create a document library for each team and secure it as desired. In the configuration of each library, email enable the document ...
Eric Alexander's user avatar
2 votes
Accepted

Get properties of subfolders

When you want to retrieve properties for a single item/folder/list/etc and not a collections of items/folders/lists/etc you need to specify properties like this: ctx.load(list, 'Name', 'Url', '...
Mihail's user avatar
  • 2,079
2 votes

Assign Existing group to Folder in document library CSOM C#

So basically you are not trying to break the inheritance. Did you try by keeping folder.BreakInheritance as false.or if you exclude this line : collRoleDefinitionBinding.Add(clientContext.Web....
Ankit Kumar's user avatar
  • 1,768
2 votes
Accepted

"Invalid file name" while creating folder in document library CSOM C# : 2010

Use following code to add folder in library Folder folder = documentLibrary.RootFolder.Folders.Add(sourceFolder.Name); clientContext.Load(folder); clientContext.ExecuteQuery();
Akshay Belure's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible