How do you set "Allow management of content types?" to "Yes" within a Content Type or List Definition?

link|improve this question

38% accept rate
feedback

2 Answers

up vote 2 down vote accepted

This can be done either by setting EnableContentType=true in the list definition or in the feature activation event we can set the attribute. Please refer the below links. They will definitely help you in solving your problem.

http://snahta.blogspot.com/2009/02/enable-managing-content-types-by.html

http://msdn.microsoft.com/en-us/library/gg276355.aspx

http://www.andrewconnell.com/blog/archive/2009/02/08/A-Quicker-Way-to-Create-Custom-SharePoint-List-Templates.aspx

Hope it helps!

Regards, Geetanjali

link|improve this answer
Great help! Tank you! Best regards, Tim – Tim Aug 25 '11 at 7:43
feedback

This says to "toggle the SPList ContentTypesEnabled property from False to True".

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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