SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use a constant as a text filter on a SharePoint list webpart.

I can add a text filter and use it to filter the list successfully, but I don't want a control and I never want to change this value.

e.g. I was a webpart showing all items in a list with status = "complete"

Currently I am adding the text filter setting a default value and then making 0 height and 0 width but this still affects the layout and also seems like a strange way to do it.

I am sure I am missing something very simple here but anyways..

share|improve this question
up vote 1 down vote accepted

Follow these steps:

1- You can Edit the page from Browser: Ribbon -> Page -> Edit

2- Double click the ListView Web Part header: Ribbon -> Edit Web Part Properties

3- In Web Part Properties: Edit current view

4- In Edit View page, add filter to your field

5- Click save and you can see the filtered results!

share|improve this answer
So you are saying basically apply the filter to the view instead of the web part? – gordatron Feb 24 '13 at 11:39
It's not instead -- it's how this is done. The view of a list view web part is an integral part of the web part. – teylyn Feb 24 '13 at 23:46
What is the web part rendering, its the view of a list.. So applying filter on view will actually filter data from the Web Part – Arsalan Adam Khatri Feb 25 '13 at 1:59
if i have one view that shows a summary nicely it would be nice to be able to use that in various web parts, then apply a filter and give it a specific title like "outstanding items". that way changes to the view would be applied across many different web parts. Though if you want the same filtering multiple places I could see the benefit in maintaining seperate views. – gordatron Feb 25 '13 at 10:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.