document library
3246 TopicsDocument Sets - Want Subfolders (not just files) to inherit metadata
Trying to get subfolders (the actual subfolder) in a document set to inherit metadata. We have files and files in subfolders inheriting correctly but currently subfolders in the set do not inherit data. We are using the metadata column for view filter between active/pending/completed job status. What happens is the subfolders don't show in the filtered view so you cant traverse the subfolder structure. Show flat structure is not suitable as its hundreds of files. The shared columns settings in library settings, says it syncs for all 'documents' in the set. This excludes folders. Have tried power automate, but it doesn't seem to work applying the metadata to a folder object. We need to able to change a document set from Active > Pending and all the metadata change. Any ideas on how we can get the subfolders in inherit (and update) the metadata of the document set. Thanks in advance.17Views1like2CommentsMetadata for SP library
Want to get rid of folders within libraries. Issue, to sort them with columns every time people have to go into details or edit in grid view to fill them in. How can I create something that's easier for users to enter in the metadata? Goal is setup filters for finding their documents.18Views0likes1CommentSharePoint - Filter stacking
SharePoint list with a Link to Documents (hyperlink) column. When you click the link, it should open to the library where these documents are stored based on the associated ID for the record with all the documents that have that "Document ID", in this case 5550. /AllItems.aspx?FilterField1=ABC_ID&FilterValue1=5550&FilterType1=Text This field is a Hyperlink field The item opens in the library where the documents are all being stored, but is showing an additional filter value (sometimes, it will show three additional values) for example, it will show 5550, 5596, 2208 (all random each time). Is it caching old searched filters? When I go to the library and clear all filters and then filter from the All documents on the 5550, I get all my documents back no problem. I compared the URL with the broken filter to the URL from the all documents filter and they are the exact same Why would this be happening? What is breaking the filter and adding or stacking additional filters to the requested link. Any help to fix this would be appreciated.118Views1like6CommentsHow are you creatively working around the SharePoint List View Threshold
Hi community I'm looking for outside-the-box approaches to dealing with the SharePoint List View Threshold (5,000 item limit). I'm familiar with the standard guidance, indexed columns, filtered views, folders, but I'm curious how others have solved this more creatively, especially in M365/SharePoint Online environments where you can't raise the threshold from the admin side. Additionally, if you've tackled this in a healthcare, government, or other highly regulated environment where you couldn't just move to an external database easily. Would love to hear what's worked (and what's blown up) in practice. Thanks in advance!Solved133Views1like3CommentsContainer tree - PnP Modern Search
Hello everyone, I am trying to create a page on one of my SP sites dedicated to search. Specifically, I want to use tags/labels as filters. So far, I have managed to do this using the PnP Modern Search filter tool on one level (I create a column, map the crawled properties with a RefinableString, and configure the filter). Now I would like to do the same thing, but this time on multiple levels with a tree structure. I've created a TermSet and in the filter configuration, I saw this โContainer treeโ option, but nothing works, and I can't find any help or documentation on the subject. Does anyone have any information? Or a way to use this option and have tree view on the filter? Thank you in advance, any help will be greatly appreciated. Kind regards255Views0likes5CommentsHow to show folder path for documents in a flat SharePoint library view
I have a document library with a multi-level folder structure that is somewhat complex. I created a view that removes folders and displays all documents in a flat structure (no folders shown). How can I display or indicate the folder path (or location) for each document in this flat view, so users can understand where each file is stored within the original folder hierarchy?Solved107Views0likes2CommentsNEW SharePoint & Purview Feature: Protect Files After Download!
๐ New in SharePoint + Microsoft Purview: Extend Permissions Beyond the Cloud One of the biggest challenges in Microsoft 365 has always been this: ๐ What happens to your data when it leaves SharePoint? With this new feature, Microsoft finally closes that gap. You can now use Sensitivity Labels to extend SharePoint permissions to downloaded files โ meaning protection doesnโt stop when a document is downloaded. ๐ Hereโs what that enables: Files remain protected even outside SharePoint Access is still enforced based on SharePoint permissions Changes in permissions are reflected in real-time Access can be revoked โ even after download ๐ก In other words: Your SharePoint security model now travels with the file This is a huge step forward for: โ Data Loss Prevention (DLP) โ Compliance & Governance โ Secure external collaboration โ ๏ธ Especially relevant if you're working with: Sensitive documents, external sharing, or regulated environments. ๐ Iโve just published a video where I break it all down: ๐ https://youtu.be/G6XvyU5GAqk Curious to hear your take: ๐ Would you trust this model over traditional access control? ๐ Where do you see the biggest impact in your organization? #Microsoft365 #SharePoint #MicrosoftPurview #DataProtection #CyberSecurity #Compliance #InformationProtection #M365 #ITSecurity #CloudSecurity56Views0likes0Comments404 error downloading file versions via CSOM (SharePoint 2013 On-Prem)
I need to download historical versions of a document from a SharePoint 2013 On Premises document library using a C# console application, so I can migrate them chronologically to SharePoint Online along with their column properties. While downloading the current latest version works perfectly, downloading older historical versions always fails. Standard CSOM methods fail because ListItem.Versions does not exist in the SharePoint 2013 v15 SDK. Reverting to direct HTTP endpoints consistently throws an error. Here is the exact exception message I receive: System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found). Below is the minimal reproducible code example demonstrating how the connection is initialized, how properties are loaded, and where the download fails on historical versions: using System; using System.IO; using System.Net.Http; using Microsoft.SharePoint.Client; using SP = Microsoft.SharePoint.Client; class Program { static void Main() { string siteUrl = "https://example.com"; using (ClientContext sourceCtx = new ClientContext(siteUrl)) { sourceCtx.Credentials = System.Net.CredentialCache.DefaultCredentials; List sourceList = sourceCtx.Web.Lists.GetByTitle("MyLibrary"); CamlQuery query = CamlQuery.CreateAllItemsQuery(); ListItemCollection items = sourceList.GetItems(query); sourceCtx.Load(items, ic => ic.Include( item => item.Id, item => item.File, item => item.File.Versions, item => item.File.ServerRelativeUrl )); sourceCtx.ExecuteQuery(); foreach (ListItem item in items) { if (item.File == null || !item.File.Exists) continue; foreach (FileVersion ver in item.File.Versions) { string absoluteVersionUrl = siteUrl.TrimEnd('/') + "/" + ver.Url.TrimStart('/'); using (var handler = new HttpClientHandler { Credentials = sourceCtx.Credentials }) using (var client = new HttpClient(handler)) { client.DefaultRequestHeaders.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f"); client.DefaultRequestHeaders.Add("User-Agent", "Mozilla/5.0"); // CRITICAL FAILURE HERE: Always throws 404 Not Found HttpResponseMessage response = client.GetAsync(absoluteVersionUrl).Result; response.EnsureSuccessStatusCode(); using (Stream fileStream = response.Content.ReadAsStreamAsync().Result) { // Upload logic to SPO goes here } } } } } } The version URL returned inside the property matches the following virtual folder layout format: _vti_history/512/Folder/Doc.docx My specific environment queries are: Why does navigating to the absolute history folder URL over an authenticated HttpClient trigger a 404 Not Found error in SharePoint 2013 on premises, even though the path token is extracted directly from the version url metadata property? Is there an alternative legacy REST endpoint routing structure or an alternative file stream extraction method available in the SharePoint 2013 (v15) SDK that allows an external client application to fetch older version binaries successfully?45Views0likes0CommentsHow to hide the Modify this view and Create View as per users available in groups
Hi All, I have classic view of SharePoint in list/libraries. I have group(for Managers). I just want want to show and hide the Create View/Modify View/Modify this view depends on users available in group. If user available in group(for Managers) then they can do anything like Create View/Modify View/Modify this view but if user is not a part of the group(for Managers) then they can not modify any Public views but the can create Personal view. Is there any way how I can achieve this functionality?136Views0likes1Comment