Logo 
Search:

Sharepoint FAQ

Submit Interview FAQ
Home » Interview FAQ » SharepointRSS Feeds

How do I open an older version of a document?

  Shared By: Tarang Nayak    Date: Mar 12    Category: Sharepoint    Views: 2257

Answer:

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.

Share: 
 

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].


Tagged: