Why are there no good methods for filtering a Document Library?
I am really, really confused. Sharepoint does not include a feature to apply a filter to a document library view and keep that filter active when differernt views are selected? For example, if I access a document library user typical URL variables (FilterField1 and FilterValue1), the filter I apply disappears when I switch to another view. Even when that view shares the same columns. This is beyond frustrating for me and I really hope someone out there has a solution or suggestions on how to keep a filter value persistent between changes to the view. This seems to me a fatal flaw in using document libraries with filters and an egregious oversight on the developer's part. Thank you.
October 5th, 2009 4:50pm

Hello, If you want the filter to apply to a view when you select that view, why don't you configure that view to have the filter you want? Chris Caravajal MCTS SharePoint Help
Free Windows Admin Tool Kit Click here and download it now
October 5th, 2009 5:58pm

If you are using the filters where you right click the top of the column, they will disappear. However as Chris mentioned if you want the filters to be saved everytime you switch views you have the option to configure the views to filter the way you want.If you go to settings then scroll to the bottom and click on a view then scroll down again. There is a section that allows you to apply filters which will show everytime you load the view. If you set the filters here they will not disappear.Kevin
October 5th, 2009 6:26pm

Thank you for the suggestions. The filters, as they are configured in the View, seem to be hardcoded, though. If I want to supply the filter value using say a url variable, and "hold" that value", will configuring the View provide me with that capability? The key is that I want to be able to simply open a view using URL variables and when I switch to another view, still filter by those original values. Seems to me this should work out of the box...
Free Windows Admin Tool Kit Click here and download it now
October 5th, 2009 6:35pm

If I understand correctly, this does work out of the boxfor example adding this to the end of any view's url will filter the modified date to only 9/23/2009?FilterField1=Modified&FilterValue1=09%2F23%2F2009Kevin
October 5th, 2009 6:45pm

Right, but after applying the filter in your example, when I change which view is selected, that filter value will disappear. I'm looking for some way to keep it persistent.
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2009 4:05am

Perhaps you can use jqeury to replace the urls of the views. Some jquery sample here:http://translate.google.com/translate?client=tmpg&hl=es&u=http%3A%2F%2Fsurpoint.blogspot.com%2F2009%2F09%2Fremover-o-reemplazar-vinculos-estandar.html&langpair=es|enJuan Pablo. http://surpoint.blogspot.com/
October 13th, 2009 7:39am

sHi I've tried this and it doesnt seem to work. Does it look correct? ?FilterField1=Gate%203&FilterValue1=09%2F09%2F2010 It's the Gate 3 field and i want only those from a certain date but the list returns nothing. If i filter by a non date column it works fine. Thanks Adam
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2010 7:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics