Dude
Guest
|
Posted:
Fri Nov 11, 2005 8:21 am Post subject:
How to Enable Content Approval by Default |
|
|
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 |
|