SharePoint 2013 Foundation (SPF) and Server (SPS) SharePoint 2010 Foundation (SPF) and Server (SPS) Windows SharePoint Services (WSS) 3.0 / Microsoft Office SharePoint Server (MOSS) 2007
SPF & SPS 2013 • 2010 • 2007
User Voices

FilterZen: Feedback Forum > Wildcard search at the URL / Page Request filter

I try to use wildcard at the URL / Page Request filter according this hint: Filter mode turned to "CAML Direct" and filter operator set to the "contains". Request /lib/DDD/Forms/zs.aspx?c=KE001 (c is request parameter) return ~100 items, but both /lib/DDD/Forms/zs.aspx?c=KE*01 and /lib/DDD/Forms/zs.aspx?c=KE%2A01 returns nothing. What am I doing wrong?

August 9, 2011 at 15:33 | Unregistered CommenterAlex

We do not support wild-cards like this, especially not with an asterisk in the middle! Set your operator to contains or begins-with (but do NOT specify *asterisks* or other wild-card characters you may know from Dos/Windows/Unix etc.) and voila you have a "wildcard-LIKE" result set with the items that *contain* your query value (or *begin-with* it if you chose that operator).

August 10, 2011 at 0:23 | Registered CommenterROXORITY

That's why our blog article reads "...use other operators such as Contains, which you'll need to achieve a 'wild-card search *of sorts*'"

August 10, 2011 at 0:24 | Registered CommenterROXORITY

I understand. You call a substring search "a sort of wildcard search". It is not clear from this blog record.

Thank You for the explanation.

August 10, 2011 at 12:19 | Unregistered CommenterAlex