website analyzer DUH: Defining a user field which you can select multiple people - Kit Kai's Tech Blog

Kit Kai's Tech Blog

Blog about SharePoint

This Blog

Syndication

Search

Tags

News



  • Want to be notified when new posts are available? Click the icon below for more information on how to subscribe.

    Blog Flux MapStats: Stats and Counter for Kit Kai's Tech Blog Subscribe to Kit Kai's Tech Blog

    Locations of visitors to this page Add to Technorati Favorites

Community

Email Notifications

Archives

Sharepoint / CMS Blogs

MVPs', Leads' & RDs' Blogs

Singapore Usergroups

Overseas Usergroups

About Me

DUH: Defining a user field which you can select multiple people

Pardon my very "expressive" post. Wasted quite a bit of precious time, especially when the work I'm doing is community work, and a new born baby is competing with this precious resource.

SDK says, to define a field (using caml in field definition) to be a person field, which allows multiple selection, you need to set the type to "UserMulti". The value of this field will be return as SPFieldUserValueCollection. I was able to retrieve the field, but I can't figure out why I add a user to the collection, and the collection.count returns > 1, when I save and re-retrieve, the count is 1, and it only has the first user...

Dig and dig until fingernails are gone ("Imagine those war movies [My favorite, Band of Brothers], where soldiers are trumatised"). Finally figure out you need to set the mult attribute to true. And what did the SDK says?

"Optional Boolean. A scale factor used in multiplication before displaying a number." <- Does this mean anything related to what I am trying to accomplish here? Is my English that bad, or someone neck should be in my hand now?

Published Friday, March 20, 2009 8:38 AM by kitkai

Comments

# re: DUH: Defining a user field which you can select multiple people@ Saturday, March 21, 2009 2:17 PM

you wouldn't believe the number of Engrish documentors Microsoft hires to write their documentation.

by icelava