files
1730 TopicsBulk link updates
First off, apologies if this is in the wrong community. All files are held in the same sharepoint library. So in the library there is an excel file which gets updated a couple of times a year and lets say 20 word fiiles containing roughly 5 links per file referencing 4 ranges in the excel file. These word documents are also updated several times a year. When either the excel documented if updated a new file if generated with a new name which replaces the old one and the old one is archived. The word documents are simply edited and renamed with the old one being archived. I'm looking for a way to update the links in the word documents to pick up the same ranges in the new spreadsheet. As it currently stands I need to manually update each link which is time consuming, prone to error and stupid :-) anyone come across this need and if so how did you solve it? thanks in advance37Views1like3CommentsDocument 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.48Views1like3CommentsMoving Files from a Shared Drive to a SharePoint site
Hi, I've seen the moving of files from a Shared Drive to a SharePoint site can be tricky, depending on the size of the files that are to be moved. What is the best and most effective way to move folder, files. I'm not sure yet of the number of folders and size of the files that will need to be moved? Can anyone provide an advise on this, please.. Regards Chris70Views1like3CommentsSearching on SharePoint Image Gallery only using 'Image Tags'
Hi Our company has an image gallery on Share Point which needs to be user-friendly and efficient. Since we deal with a large volume of images, we are searching for the most effective solution to easily locate the images we need. Although I attempted to use the "Image Tags" column to tag the images, a keyword search on Share Point displays not only tags but also other files and folders containing the word. Is there a specific command or search bar option to view only "Image Tags" keywords? Could you suggest a solution? Thank you!8KViews1like4CommentsHow 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?Solved123Views0likes2Comments404 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?46Views0likes0CommentsSharepoint link shared with me does not seem to be working
Hi, With my new job I was shared a link to my personal gmail address for a folder of documents I need to become familiar with. This was done with an invite link to a Sharepoint folder the documents are kept in to my gmail. When I click the link it prompts me to log into my outlook account. When I log into my account with the same gmail address as the one the link was shared to I do not see the folder that was shared to me. I tried logging into my gmail on outlook and clicking the link again, to the same result. Both times what I see is a web based outlook page with no emails, no documents shared on the “shared with me” tab of one drive and the only documents present are the cloud backup of my personal computer on one drive. I tried downloading the sharepoint app and logging in this way, but it says I need a school or work email and I can’t log in with a personal email address. It’s important I be able to view these documents. I would appreciate any help telling me how to access them.1KViews1like2CommentsSPO Overwriting in a library .doc with .docx doesn't work
Hi, I got following remark: I have a word document with .doc extension. When uploading in that same library a word document with exact the same name but different extension .docx it will not overwrite the original document, it will create 2 different word documents with the exact same name. 1. Is this normal behaviour? 2. Is there a solution for this not happening? 3. If solution exists, will the Document ID change? 4. If solution exists, will the previous versions still exists? Thank you in advance for your help!Solved1KViews0likes4CommentsUsers unable to determine who has access to document library due to security groups
Greetings, Maybe I went about this the wrong way. Looking for advice on either the proper way we should be moving forward on this or any other comments or insight we should be considering. This is for SharePoint online via Microsoft 365 Business license. Scenario: 1. SharePoint Document Library per department (Each Document Library exists in its own SharePoint site), essentially being used as a company drive. 2. Some users should only officially have access to specific folders in some of the document library. 3. If say a person in accounting has access to some specific folders, and either they are replaced or a new accounting user comes in.... should be able to reference the access the existing person has in order to give the same access to the new user. 4. Common Request: Give UserB the same folder access as UserA. 5. Some users should have access to the entire document libraries while other users only have access to specific subfolders. Current Implementation: 1. In Entra, created Security Groups that tied to specific folders. -- For Example for the accounting folder, only management has access to the entire folder but the accounting staff only have access to specific folders. So like there is a FiscalYear2024 folder, so I created a security group called sec-Accounting-FiscalYear2024 and assigned the members that should only have access to that folder and not the rest of the library. -- My thought behind this was if a new user was replacing the existing user or joining the department, I can just reference the existing user security group membership and copy it to the new user. 2. In the SharePoint document Library, I create a shareLink that is assigned to the security group I made for that access. Then I give that link to the users I assigned the membership to. Current Issue: 1. Aside from the official document sharing/access that is being done from the security groups above. There are occasions where users of a sharepoint need to share specific files or folders to other users. 2. However, they are all panicking and confused because aside from themselves they are unsure who has access to the existing folders/files in the document library. 3. When going to manage permissions of a file/folder, it only shows the group assigned to it but not the members of the group. 4. So since users can't see the members of the group assigned to a folder, they have no idea who has access to that folder and are getting confused. If this was an NTFS drive, it would be super easy for users to see who has access and etc by looking at the properties but I'm stuck behind some limitations of sharepoint I didn't realize existed until I tried to implement certain workflows. Any advice here would be greatly appreciated, as my implementation has turned into a point of frustration for end users. Thank you in advance!147Views1like1Comment