Share via


Text Filter using partial or wildcard

Question

Tuesday, May 9, 2017 7:39 PM

I have a basic text filter web part connected to a very simple list, filtering on a text field which is basically a name.

I'm searching for a way to use a partial name and/or wildcard to bring back some sort of result, rather than just blank results.

thanks in advance

Z

All replies (2)

Wednesday, May 10, 2017 10:54 AM

Hi Z,

We can use SharePoint Designer to achieve this.

Firstly, we need to open a new created page in SharePoint Designer, add the data view web part associated the list and a Text Filter web part.

For the data view web part, create a data view web part parameter by clicking “Parameter” option under “View List Tools” tab on the ribbon. And set filter criteria by clicking “Filter” option, set the comparison to Contains or Begins With depending on your needs. After that, we need to add connection to connect the text filter web part to the data view web part.

There are some demos about how to make the text filter web part be able to partial search. Though they are for SharePoint Designer 2010, it still has good information.

http://blog.pentalogic.net/2014/05/sharepoint-wildcard-free-text-search-list-view-web-part/

http://danssharepointblog.blogspot.sg/2013/11/how-to-modify-text-filter-web-part-to.html

Best Regards,

Linda Zhang

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected]


Thursday, May 3, 2018 1:35 PM

Hi!

I followed all the instructions below and now i have a right filter. The question is though, how to set my list to display all the values if my filter is blank?

Best Regards, 

Konstantin