Site icon David Lozzi

SharePoint Metadata: Filter Page Web Parts

Advertisements

On my list of awesome SharePoint ideas that I want to try and do, was giving users the ability to filter a page based on selected metadata.  I decided to hurry up and do it thanks to a question on MSDN forums. Special thanks to Stefan Bauer for the starting of some great code!

I’ve created a CodePlex project which contains the code file, check it out at SharePoint Filter Page by Metadata. Very simply, users can click from a list of terms within a term set, and filter all web parts on the page.

Prerequisites

To use this script:

TADA! You’ll see the list of values from the metadata service, and when clicked, it’ll filter your page!

NOTE There is currently one issue however, and I’m not sure if we can get around it. If you include a web part to a list that does not have the same site column in it, that web part will error when filtering the page.

Exit mobile version