Here is the problem: I need to display a custom list field for only the author of a discussion post.
Easy you say? Not so much when you have a custom list definition. You need to get hold of author ID and then compare it to the current user id, in the schema.xml
Getting hold of the author's id has to be done via the Lookup Column. Isn't that fun? Now my field is a checkbox allowing the user to close the discussion.
The important bit of code is:
<lookupcolumn name="Author" showfield="ID">
So a pretty short post but usefull I think.