changing the value of a filed in discussion forum
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
changing the value of a filed in discussion forum

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Pete G
Guest





Posted: Sat Oct 29, 2005 12:50 am    Post subject: changing the value of a filed in discussion forum Reply with quote

I changed the following in ONET.XML so that the value displayed in the Posted
By column is the user's Email and not his Display Name.

<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>

I changed the ColName value from tp_Author to tp_Email which I know exists
as a column in the UserInfo table in the content database. However, after
saving change and resetting IIS, I get this error message: "The list does not
exist. It may have been deleted.".

How do I achieve what I want? Pls help. Thanks.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB