Linking to filtered Document Library views in SharePoint

This content is 15 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve been doing a lot of work in SharePoint recently – nothing very technical, just Site Administrator stuff customising the basic SharePoint site structure to meet the requirements of my particular project. One of the things that my team wanted to do was to create a diagram with clickable links to views on the document library (it’s taken some time to “educate” them that folders are not a good way to go and that they need to think about searches with appropriate views and filter – think Google, not file share – but in some cases the same document was filed three times in different folders so that it appeared in a logical hierarchy!).

I was playing around with this and noticed that the URL structure for a given filtered view was petty easy to work with. So, for example:


We can even extend it further if required with &FilterField2 and &FilterValue2 (&FilterField3 and &FilterField3, etc.).

Using this we can link directly from documents and external applications/sites to a filtered view on the entire document library, giving the equivalent of a folder view (i.e. just a small group of documents) but generated dynamically and avoiding the creation additional views that need to be maintained.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.