0

In SharePoint CSOM (C#), how do I retrieve the item version history for a particular version? For example, for an item there are 8 major version. I need to retrieve programmatically 2nd version from the changes history.

Please refer below image

Cœur
  • 37,241
  • 25
  • 195
  • 267

2 Answers2

0

CSOM doesn't provide API to get version history of a list item. You will need to use SharePoint web service to retrieve the version history and related data of list item In client-side. The code for this can be found here.

Edney Holder
  • 1,140
  • 8
  • 22
  • in this way we need to pass feild name each time. but i need to get all the changes happened for that particular version. Can you please suggest? – suresh kumar May 21 '19 at 10:00
0

With the CSOM Version September-2017, you can also access the field values of previous versions. The blog conatins a simple code sample.