When i access the list of Infopath files, and select one for example and click the Version History, is there a way to download previous versions without Restoring the old versions?
相关问题
- Sharepoint multiple connections to a web parts
- Trouble with OR in Sharepoint CAML
- List Microsoft Sharepoint Sites with Microsoft Gra
- How to use VBA or Powershell to export lists from
- redirect using itemreceiver sharepoint
相关文章
- File Upload to SharePoint 2013 using REST API
- Passing file object to Web API from Javascript
- How can I iterate recursively though a sharepoint
- SharePoint, VirtualPathProviders and Application R
- Saving a document to SharePoint brings up “Web Fil
- SharePoint SOAP GetListItems VS jQuery - How to us
- Trying to upload files to subfolder in Sharepoint
- Sharepoint client GetFolderByServerRelativeUrl fol
This will only work for items in libraries (and wont work on lists). Some points to remember:
With those three in mind, you can pull the download URL for all the version history of the InfoPath file by doing the following:
Notice that I used a method called
GetVersion
? This is a simple method which just gets the major version # of a document. It looks like this:If you will be needing the minor version you can just create another method to pull that information. What this method is used for is to generate the download link you need for each document version. As for the details on why we need to multiply the version to 512, you can read it up on here.
Hope this helps. :)