Document Library
3169 TopicsTrouble adding and indexing a new column to a large SharePoint document library (threshold 5000)
I need assistance adding a new column to a SharePoint document library. The library contains more than 5,000 items, and when I attempt to create the column via the Microsoft Graph API I receive an error stating that the list view threshold of 5,000 has been exceeded. Oddly, when this error occurs the column still appears in the library, but it is not indexed. Any attempt to update the column definition to set indexed = true fails for the same threshold reason. Is there an alternative way to create and index this column programmatically? Manually adding the index through the SharePoint UI works, but that is not feasible for our use case — we need a repeatable, automated solution that can be applied across many customers. Thanks.14Views0likes0CommentsRestoring overwritten file by Power Automate
I'd like to know there's any way to restore file which is overwritten by the automation workflow. File is copied from another folder in document library to another folder by overwriting. As I've checked activity of its folder, it shows that workflow deleted the previous file before creating new file. The action in the workflow Currently, I've tried to restore from Microsoft Purview but it doesn't work. Also, these's no anything in recycle bin or second bin. And file doesn't have any version history because it new created one. Thank you in advance for any response, either good or not.8Views0likes0CommentsContainer 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 regards79Views0likes3CommentsSharePoint online document library - document properties not getting update values in word document
Hi All, We have created an application in SharePoint online. This application creates Word documents in which SharePoint list fields are merged. When creating a new item in SharePoint, the Word document shows the correct date values: 1. Create new item in SharePoint. Dates are 1/9/2025 and 2/9/2025 2. Opening the related word document shows This is correct behavior 3. Change any field through 'Edit properties'. Still the dates are 1 and 2/9/2025 4. If I open the Word document now I see that the dates have a value of 1 day less then the provided date. The category is updated correct. 5. When downloading the document the correct values are shown 6. Also when opening the document through View in browser > Edit document > Open in desktop, I see the correct values Question is: 1. Why don't we see the correct values when the Word document is directly opened in the browser? 2. Is there a possibility to open the Word document always in the Client (desktop) itself instead of directly on the browser? We already tried changing the below Advanced library settings (changed it in Open in Browser/use the server default), but this didn't gave the correct solution.60Views0likes1CommentDifficulty loading Teams Channels folders in SharePoint
During the last week, I've had users struggle to access Teams channel folders from SharePoint for web. They can navigate into the Document library, but when they click on the Teams channel folder, it hangs and fails to load. Currently, they are using a workaround to access the Teams channel directly and click 'open in SharePoint.' I've also had issues with the files tab in the same Teams channels loading. I get an error message that the page could not be loaded.89Views0likes2CommentsHiding custom buttons from SharePoint column
Scenario: I have created an Power Automate instant cloud flow, linked to a custom button on a SharePoint column. The purpose of this automation and button is to send customers a PDF certificate once they have completed their training. The automation and process is working great, but I would like to tidy up the various buttons I have created, so that only one button is visible. My question is....how can I remove the additional custom buttons from the rows in the SharePoint column circled in red below. I either want one button on one row of the column (highlighted yellow). Or to alternatively put the button up on the command bar instead. I know this can be done using custom views and JSON but I have been struggling to do this so far. Any guidance would be much appreciated.67Views0likes1CommentRestrict Document Library so that only specific folders shared with a user are visible to them
We are migrating from Slack to Teams and need a historical archive of our Slack channel conversations. I have an export of my Slack channels (roughly 4000 public channels and 4000 private channels). Each channel is a separate folder with an .html copy of the conversation history of that channel. I want to create two document libraries on a communication site. One for public channels that will be shared with an org-wide group. I plan to move the 4000 public channel folders into there. This is not ideal because scrolling through the list will be very slow but it is the best solution we can think of for this. We plan to educate on how to search efficiently, or use a CoPilot agent to search. The other document library for private channels we want to also share org-wide. However I want to remove inheritance on each folder. And then assign permissions to the folder based on if you were a member of the equivalent channel in Slack. So for instance, I am a member of 40 Slack channels, so I would be granted access to just those 40 channels in the document library. My goal is that a user can access the main sharepoint page, and access the private channels document library, and only see the specific allotment of folders, rather than all 4000. Is this plan feasible? I know there are issues with list view thresholds and potentially drops in performance. How bad might they be? Am I missing anything that could derail this? And permissions management at the folder level after the fact would normally be a nightmare, however in this instance we plan to make this a locked-in-place historical archive. Users would have read-only permissions, and we will never alter the permissions on the site or libraries or folders ever.155Views2likes3CommentsDisable presence in SharePoint Online file viewer - anyone got Roadmap ID419814 working?
Hi All - Happy September! We publish sensitive internal content (e.g., salary scales) in SharePoint Online for easy, up-to-date access. The issue: when hundreds of colleagues open the read-only Word/Excel files, they can see each other’s presence and live cursors. This also happens on externally shared links, exposing colleague names. Naturally our HR SLT are concerned about this behaviour. Workarounds tried We created read-only variants of the Word/Excel files, which initially suppressed presence indicators. However, we’re now seeing the unwanted presence behaviour again on those read-only files. This seems to have changed in the past few days. We saw Microsoft 365 Roadmap ID 419814 (“Disable presence in the file viewer”) referenced last year, which sounded like exactly what we need. Unfortunately, we’ve not been able to make this work in testing, and our configuration options seem limited. The SPO code we used was: Set-SPOSite -Identity https://tenant.com/sites/sitename -HidePeoplePreviewingFiles $true Ask to the community Has anyone actually received this feature and confirmed it works at tenant/site level? If yes, how are you enabling it (SharePoint Admin Centre setting, PowerShell, PNP, policy, or feature flag)? Does it reliably suppress both presence rings and live cursors for: internal viewers with view-only permissions; and externally shared links (including cases where the viewer is authenticated as a guest vs. anonymous)? Are there any link type or site sharing policy dependencies (e.g., “People in your organisation” vs. “Anyone with the link”) that change the behaviour? Any browser/client caveats you’ve seen (Word/Excel for the web vs. desktop, mobile, or embedded viewers)? If roadmap ID419814 isn’t viable, what sustainable alternatives have you used that don’t force us into static, less accessible PDFs? We’d really like to avoid pushing users to download static PDFs for accessibility, versioning and user experience reasons. Ideally, we want: If anyone has got this working, I’d really appreciate a short call or DM to compare notes and replicate your setup. Many thanks tony60Views0likes0CommentsLocking the Default view
I don't know how this keeps happening but everytime I change the default view for a directory it keeps changing to something else. It's driving me mad and it's confusing our users. As the admin, I need to be able to create a view, save it as default, and prevent anyone from changing it. I would love others to create their own views and to make them public - I just need the default view to remain locked.189Views1like2CommentsCustom search to search pdf files in certain librarys
Hi! I have set up document system with three different document librarys. Togheter they hold about 32000 pdf documents. I have implement the custom search module on my site and created a custom search resultspage. I have redirected the search to resultspage and defined the document librarys. I have also tried to define the SharePoint result source and search terms but with no luck. I have tried many different combinations like path:https://sharepoint document url like below with no luck. The results find my document librarys, but doesnt search in them for the files. It only shows a link to the document library instead of the files. Is ther something i missing or isnt this possbile to achieve? Do I have to create a Scope? Crawl? I really dont understand those features. Please help! 🙂 {SearchBoxQuery}( (Path:http://sharepoint/sites/demo/dev/DocLib1 (FileExtension:pdf)) OR (Path:http://sharepoint/sites/demo/dev/DocLib2 (FileExtension:pdf)) OR (Path:http://sharepoint/sites/demo/dev/DocLib3(FileExtension:pdf)) )1.1KViews0likes1Comment