2

I have a list view webpart which contains a field which is a list of users, semicolon delimited. The field is a single line text field. I then have a current user filter web part which filters list items by said column, based on whether the aforementioned name is included.

If the column includes one name e.g. Joe Bloggs - all is fine.

However, for some list items it will be several names, semicolon delimited. e.g. Joe Bloggs;Jane Sample;Bill Gates

When this is the case, however, the filter does not function, and thus presumably cannot filter with wildcard.

Any ideas on how this could be achieved? Thanks.

  • the field seems to be multiloopUp. you need to use SPLookupValueCollection class to seperate the values in c# – SharePointMan Apr 1 '14 at 16:36
1

Sorted! Just used a Dataview webpart with a 'contains' filter.

If anyone else has the same prob, see this link: - just follow that guide but replace text filter web part with current user filter :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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