Dec 09 2022 08:03 AM
Hi,
I have a client that has ~40k documents in a document library and this has been the case for years. Suddenly, two days ago, several flat views just stopped working with the dreaded "The attempted operation is prohibited because it exceeds the list view threshold" error message. I deleted 5k test documents to see if some sort of hidden threshold had been hit, but this didn't change anything.
Something changed in the infrastructure, I believe. I also try to create routine views on other libraries with more than 5000 documents that always worked and don't anymore.
I don't really want to go through the details of each affected views and the possible work arounds, but does anyone know if something changed lately in the SPO infrastructure about the LVT?
Dec 09 2022 10:22 AM
May 07 2024 01:14 PM
@Francis Laurin , I am having the same issue. Has anyone found a way to manage this? The List View is important to the users managing this Library. Having less than 5000 items is not an option in this case.
May 07 2024 01:24 PM
Good to see that I am not alone, but I got no help or acknowledgement from Microsoft support. They won't touch anything with more than 5000 items. Support don't understand it themselves.
What I find is that the issue only happens on flat views on a library with document sets. This may explain why it is a niche case and not enough seem to experiment the issue.
May 07 2024 03:39 PM
May 08 2024 06:21 AM
Hi @ArefHalmstrand! Thanks so much for reaching out. I have not considered separate content types. I have tried to limit views and index columns. I would be interested in a MS Teams call if you have the time. Please private message me for contact details.
Cc @Francis Laurin , thanks for your reply yesterday. I appreciate your follow up.
May 08 2024 07:27 AM
May 08 2024 12:57 PM
May 08 2024 05:41 PM - edited May 08 2024 05:44 PM
There are several issues that I find with this idea of splitting into multiple libraries:
-There may not be an obvious criteria to split the library, then having multiple is a nuisance on the user point of view. I have several real-life scenarios that I can share: HR employee files (one doc set per employee) where one would like to filter all the performance reviews, several suppliers (one doc set per supplier) on a big project where one would like to filter some document types, Contract projects where lawyers would want to filter the documents assigned to them transversally.
-The split-library solution gets a lot more complex to assemble: site content types, library templates, some tricks to aggregate unified views... Compare that to a single library which can be assembled by a power user or for significantly less consulting costs.
-From the user point of view, working in a single library interface may also be much simpler: all the views they need, direct interactions with documents and metadata. For some existing clients, I was forced to recreate key views using the PNP Modern Search but it is much less usable than a basic view in this scenario.
-The deal with Microsoft has always been that a library supports 30M documents and if you do your indexes correctly, you won't have any issue. I did that and it worked well until it didn't in 2022 for libraries with doc sets. Several clients with which I did not even work anymore suddenly had their libraries failed.
For new projects where I need to implement the pattern, I resorted to create a separate "archive" library to move all the inactive document sets. If volume allows, it leaves less than 5000 active documents and doc sets in the "active" library and I created a Power Automate flow to move the doc sets once they are completed. It adds complexity to my ideal pre-2022 scenario, but keep a lot of advantages.
May 09 2024 02:11 PM