Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Version Control in Doc Library

Status
Not open for further replies.

Aza41

Technical User
Nov 1, 2005
2
0
0
GB
Can you limit the number of versions you store?

If so how?

In simplist term poss please.

Thanks

:eek:)
 
Only if you make an documentlibrary eventhandler ("Not out of the box")

Download the wsssdk

and look under Microsoft Windows Sharepoint Services > Programming tasks > Programming with the object model > Handling Document Library Events.


This is an exact artical on how to make an eventhandler on that task specifically.

"The following programming task creates an event handler that deletes the oldest version of a file in a document library when the number of versions for the file reaches a specified number. To establish credentials for the handler, a method is used that returns a token to the event handler for impersonation of a user.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top