开发者

Version Control for each item programmatically in sharepoint 2010

I want to store different number of versions for each item in a single library depending upon the flag. I know out-of the box feature would apply at document library level, but I want to do it at it开发者_如何学Cem level with customization. Any idea , how can I do it?


You need to set the DocLib settings to unlimited (our your max) number of versions

And then implement an SPItemEventReceiver where you're deleting versions in the ItemUpdated/ItemCheckedIn events

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜