Sunday, 19 July 2015

SharePoint 2010: How do I set the value multi select lookup column?

A seed data script I was writing required a multi value selection lookup column to be pre populated. Setting a single value is simple - use <Id>;#<Text> - and all is well. But how do you set multiple values?

The solution is just as simple; use ;# as the delimiter between items. For example, you could set your column with the following:


Semi-colon Hash (;#) is the delimiter of choice.

No comments:

Post a comment