Tuesday, 26 June 2012

User vs UserMulti

I spent almost a whole day trying to figure out why ViewFieldsOverride only imports the UserName of AssignedTo field in Content Query Web Part.

After trying various ways and banging my head against the table, it turns out that by changing Type="UserMulti" from Type="User", AssignedTo field will have the format 'ID;#UserName'.

2 comments:

  1. Good post. Should be added to documentation.

    ReplyDelete
  2. Yes, good post! And nice you document it here:)

    ReplyDelete