Pete G
Guest
|
Posted:
Fri Oct 28, 2005 8:51 pm Post subject:
changing value of a field in discussion board |
|
|
I changed the following on ONET.XML in order for the Posted By column to show
the email address of the poster and not his display name. I changed the value
of the ColName attribute from "tp_Author" to "to_Email". I know both fields
exist in the UserInfo table in the database.
<BaseType Title="Discussion Forum" ... >
<Metadata>
<Fields>
<field ColName="tp_Email" ReadOnly="True" Type="User" List="UserInfo"
Name="Author" DisplayName="Posted By"></Field>
</Fields>
</Metadata>
</BaseType>
After the change, I reset IIS and here's what I get when I try to open the
Discussion Forum page: "List does not exist. It may have been deleted by
another user.".
How can achieve what I want? |
|