Forum Discussion
LVT suddenly more picky: several views suddenly not working anymore
The advantage of having multiple document libraries is that you could actually handle them in a more complex way. Exclude some of them from search, set specific retention policies or even hide certain document libraries from end-users.
- Francis LaurinMay 09, 2024Brass Contributor
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.- ArefHalmstrandMay 09, 2024Steel ContributorGood point, I understand your dilemma and I unfortunately cannot give a quick and perfect answer.
However, If I would try to split this into different subcategories, I would start with the HR employee files.
I do not know how big the company is, but in my experience, having one doc set per employee sounds a bit "risky/messy" for me.
I would recommend perhaps using OneDrive. If the employee has a HR folder, and that is shared with a specific HR security group. Working from that employees OneDrive might be a better way to handle employee specific data. At the same time... The user experience for the HR will be a bit tougher, you will no longer have the option to just see all performance review in one place (by default). This can however be configured or created through an SPFx solution. I am not saying this is the "right way", but definitely an approach I might ask to consider.
When it comes to big projects (lawyers), I would recommend using MS Teams and have a channel setup between standard channels, private and shared channels. All documents that are "working documents" on a live project, should in my experience be in MS Teams channels.
Having an archive library is awesome! I would almost recommend creating an Archive Hub! Splitting it into multiple sites and then document libraries to really have a good and clean structure on what the organization has decided to save as archived. Unfortunately, in my experience, archives mostly become a black hole that no one wants to clean.
I am not 100% sure I have given you anything good to use haha, but if I can help in any way, I am available for a Teams call. Also looking forward to hearing what others might have to say.