changing value of a field in discussion board
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 value of a field in discussion board

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





Posted: Fri Oct 28, 2005 8:51 pm    Post subject: changing value of a field in discussion board Reply with quote

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