Tag Info

Hot answers tagged


Library Settings and select Versioning Settings Under Document Version History section, check the option for "Keep drafts for the following number of major versions". Enter the number of versions you want to keep. Hope this helps Reference: Click here!


I had similar but more specific case. Needed to do some stuff for the first (and only the first) time document was approved. Here is what I did. Hope it helps someone. public override void ItemUpdating(SPItemEventProperties properties) { if (properties.AfterProperties["vti_doclibmodstat"] != null) { SPModerationStatusType ...

Only top voted, non community-wiki answers of a minimum length are eligible