I am using Sharepoint 2007's content query webpart to access content types from 2 lists each contained in a different sitecollection. To achieve this, I used this tutorial: http://www.heathersolomon.com/blog/articles/CustomItemStyle.aspx.
The tutorial worked great. By using the property CommonViewFields and modifing the XML Stylesheets accordingly, i could access almost every field.
Even User Fieldtypes like editor and author were accessible by adding (editor,User) or (author,User) to the CommonViewFields property.
But when I tried to access the custom made userfield "Username" in the same way (adding Username,User to the property), the webpart threw an error and couldn't be displayed anymore. When I changed it to Username,Text , no error occured but it naturally didn't
show up, since it is the wrong fieldtype.
I hope some of you can help me, since all my researches on this topic only brought up some more people with the same problem, but no solution to it.
Thanks in advance,
View Complete Post