Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to fetch List column values from Version history using JSOM or REST

$
0
0

I have a List with versioning enabled. I want to display the value of Title field for each version.

For instance, for Version 1 the value of Title field is "First", for version 2 the value of Title field was changed to "Second", and for Version 3 the value of Title field was changed to "Third". In Version History page, I can see all these values with their corresponding Version Number. How can I fetch these data using JavaScript Object Model or REST API?

I checked this thread, but the example shows fetching the URL, but I could not find a way to fetch the specific field value. I'm specifically looking for JSOM or REST approach. Any help is really appreciated. Thanks!

Update: Though I have mentioned Title as an example, basically I'm looking at fetching version history of multiple columns (of course if the values have changed).

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>