2
votes
2answers
2k views

Event Receiver, Before and After properties

In an event receiver, Item Was Updated. I want to Compare the Moderation status on ListItems to perform some functionality.This is just some of the code. SPList list = web.Lists["DocLib"]; SPListItem ...
0
votes
1answer
94 views

The Version History for a file in the library showing different “Modified By” Column

I am writing a tool to generate the versions of a file/page in the library. My Report should include the version number and the version created by/Modified by name. While getting the modified by ...
0
votes
1answer
486 views

SPWeb.GetFile for an old version of file

I have a document library with enabled versioning, I added an xml file, then added it again, but I have edited one value in it. Now I would like to get the content of both files in C# to compare them. ...
0
votes
1answer
504 views

Get previous versions file in document Library

I'd like get the previous versions of files in document Library, passing as parameter the number of version. else if(getFileObj.versionNumber!=0) { ...
2
votes
1answer
3k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements ...