Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In List Definition, in elements.xml ListTemplate element has EnableModeration attribute.

From MSDN:

EnableModeration - Optional Boolean. TRUE to specify that content approval is enabled by default in lists created through the template; otherwise, FALSE.

Also in schema.xml, the List element has ModeratedList attribute

ModeratedList - Optional Boolean. TRUE to require content approval for submitted items.

What is the difference? Which one should I set to have Approve/Reject button available?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The scope differs, the effect should be the same. One is used in List instances (per instance of list - even when using the OOTB lists, you might want to have it created with Content Approval enabled) by example, the other is used in List Definitions, e.g. when you create a new List Template and want to enforce this by default, then you can omit it from List instances.

C:\Marius

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.