Sharepoint FAQ

 
Home » Interview FAQ » SharepointSubmit FAQRSS Feeds

How do I open an older version of a document?

  Shared By: Tarang Nayak         Date: Mar 12, 2011      Category: Sharepoint      Views: 317      

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:
<pre>
strURL = "url of the last published version"
Set oVersion = New PKMCDO.KnowledgeVersion
Set prmRs = oVersion.VersionHistory(strURL)
Set oVersion = Nothing
</pre>
prmRS will contain a recordset, which contains the url to the old versions in the shadow.

Tagged:                

 
Didn't find what you were looking for? Find more on How do I open an older version of a document? Or get search suggestion and latest updates.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].