How to Enable Content Approval by Default
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
How to Enable Content Approval by Default

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





Posted: Fri Nov 11, 2005 8:21 am    Post subject: How to Enable Content Approval by Default Reply with quote

Hi,

I have created a site definition, and would like to enable content
approval by default so any documents uploaded will have to go through
the approval process. I have tried changing the default of
ModerationStatus in ONET.XML for the Document Library basetype, but
that didn't work. Here is what I did:

<Field ColName="tp_ModerationStatus" ReadOnly="TRUE" Type="ModStat"
Name="_ModerationStatus" DisplayName="Approval Status" Hidden="TRUE"
CanToggleHidden="TRUE" Required="FALSE">
<CHOICES>
<CHOICE>0;#Approved</CHOICE>
<CHOICE>1;#Rejected</CHOICE>
<CHOICE>2;#Pending</CHOICE>
</CHOICES>
<Default>2</Default>
</Field>

Notice I have <Default> set to 2. Unfortunately that didn't work...

How should it be done? Any help will be appreciated.

Thanks,
Danny
Back to top
Loke Kit Kai [MVP]
Guest





Posted: Sun Nov 13, 2005 9:50 am    Post subject: Re: How to Enable Content Approval by Default Reply with quote

Dude, don't try to enable content approval via list definition. Tried that,
and even though you might manage to get the UI looks as if approval is set
up correctly, the backend is still not activated.
Do it the manual way man...
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