The out of the box choice filter web part, for me, left a bit to be desired. I wasn’t crazy about the interface and it just didn’t seem all that clean on a branded site. I found a way to create the same effect using an InfoPath form.
Here’s what you need to do.
Create a new InfoPath 2010 form.
Add in a Combo Box and label it accordingly. In my scenario, I wanted to filter through a list of implementation roll out groups.
Add in your parameters
Make certain that the Values you are adding into the Value field are exactly the same as what you are going to filter through on the list view web part. (You could also have the values stored in a separate list if you like. It all depends on how you want to manage the data in the future.)
Here is the critical step that is most often missed.
Create a rule on your newly created combo box.
- Right Click the DDL and choose Rules > Manage Rules
- Click New > Action
- Click Add > Send Data To Web Part
A box should pop up and give you a reminder that the field needs to be promoted as a pass through parameter.
Publish your form to a Forms Library in your site.
Add a new InfoPath Forms web part.
Edit the Web Part.
Select the Forms library where your form is stored. By default your form will be called View 1. This is very helpful if you want to create multiple forms for different pass through uses.
Click the drop down to connect your web part to the list view web part you want to filter.
Others have been hung up on this issue next . If you are making changes and updating the form, after you publish the form, you will need to edit your InfoPath form web part and choose your form again to refresh it. It will not know that the form has been changed automatically.