Posted By field in discussion forum web part
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
Posted By field in discussion forum web part

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
PeterGG



Joined: 03 Nov 2005
Posts: 1

Posted: Thu Nov 03, 2005 4:51 pm    Post subject: Posted By field in discussion forum web part 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 "tp_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.".

What does the messag mean and how do I fix it to achieve what I want?
Back to top
View user's profile Send private message
 
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