Tuesday, February 28, 2012

Maintain file version history when moving/copying files between SharePoint sites

A very good article on how to maintain file version history when moving/copying files between SharePoint sites.

You must read it. I has an example of code which demonstrates how to do.

http://sharepointvenividivici.typepad.com/sharepoint-customization/2011/06/maintain-file-version-history-when-movingcopying-files-between-sharepoint-sites.html

Sunday, February 26, 2012

Friday, February 24, 2012

Delete a List or list Item and Store into Recycle Bin


Use Recycle() Method to move your List or List Item into Recycle Bin.

i.e. :

spListObject.Recycle();
spListItemObject.Recycle();