This forum is used to track issues that people have run into with SharePoint and hopefully get some resolutions.
An issue I have ran into recently is enabling versioning on a document library. I am using a ListTemplate and I have attempted to enable versioning using the following methods.
-
Set VersioningEnabled in the elements.xml file of the document library template.
-
Set VersioningEnabled in the schema.xml file of the document library template.
-
Through the API, by getting a reference to the list, and setting the EnableVersioning property to true and then calling Update() on the list.
I can understand methods 1 and 2 not working perhaps, but when I use the API and set properties on the list (using OnFeatureActivated), I expect it to work. It unfortunately does not.