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?