SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i created a UserMulti field inside my list's instance. Heres how i declared it.

    <Field Name ="Title">List1</Field>
    <Field Name ="aatMessage">Message place holder</Field>
    <Field Name ="aatStartDate">2012-03-01T09:39:44Z</Field>
    <Field Name ="aatEndDate">2012-03-31T09:39:46Z</Field>
    <Field Name ="aatColleague">DTM01\Mathieu.Landry</Field>

The problem i have is filling up the "aatColleague" field. Adding my user doesnt seem to work. I tried without the DTM01 and it still doesnt work. Also since i added this, the item doesnt show in the list anymore but if i remove the aatColleague field it all works.

share|improve this question
up vote 2 down vote accepted

I have not tested this but try

<Field Name ="aatColleague">-1;#Mathieu.Landry</Field>
share|improve this answer
Would you need to know the Sharepoint user id from the site's user list and have 1#;Mathieu.Landry ? – Ian Mar 12 '12 at 20:53
See my edited response. I just verified it via powershell. You do not need the id from userinfo list. Set the id to -1 – sssreddy Mar 12 '12 at 21:16
I'll try, thanks alot :) – Dr.Denis McCracleJizz Mar 15 '12 at 13:43
Worked. Sorry for taking so long. – Dr.Denis McCracleJizz Mar 20 '12 at 17:57

You could always add the data in a feature activated event receiver ? This is a lot more flexible and you can debug it too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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