This article going to explain about how to open a olderversion document in sharepoint.For suppose, a group of five members are using a sharepoint site. If one persion was kept a document in that site about their project.And after that another person changed that document, the third person is going to see that first document kept by the first person, in that situation you can use this versions option. Sharepoint is providing that versioning option to prevent security for the older documens. Normally, all previous versions are located in the shadow,so if you right click a published document from within the web folders, go to properties and then the third tab,versions you can view older versions.
If you want to do this in code,
strURL = "url of the last published version" set oVersion = New PKMCDO.KnowledgeVersion set prmRs = oVersion.VersionHistory(strURL) set oVersion = Nothing prmRS will contain a recordest,which contains the url to the old versions in the shadow.
|
No responses found. Be the first to respond and make money from revenue sharing program.
|