Hinek
Hinek

Reputation: 9739

ITransformableFilterValues implementation to filter entries that contain the ParameterValues

I want to create a custom filter Web Part. I found two ways of doing this: 1. implement IFilterProvider (but this is marked as obsolete) 2. implement ITransformableFilterValues (which seems to be the current way to do it, so I chose it).

Now I need to filter entires that are not exact matches of my ParameterValues but that contain my ParameterValues.

So can I use some kind of wildcard in ParameterValues? Or is there another way to do it?

Upvotes: 2

Views: 890

Answers (2)

Andrew
Andrew

Reputation: 11

Wouldn't it be possible to Access any internal CAML inside the List Viewer webpart and modify it directly? This would be a hack.

Upvotes: 1

Ryan
Ryan

Reputation: 24442

When your Filter Provider web part passes along filters (via either method) to a Filter Consumer it has no say on what the filter consumer actually does with these values.

The List View Web Part (LVWP) for example will NOT allow you to use wildcards.

Other web parts may do (but I am not aware of any).

Upvotes: 2

Related Questions