Sharepoint Client Object Model: Read out Version properties -


i' reading out versions of list following code:

string fileurl = "/sites/dev1/mytool/lists/ticketslist/1_.000"; fileversioncollection fileversioncollection; file file = clientcontext.web.getfilebyserverrelativeurl(fileurl); fileversioncollection = file.versions; clientcontext.load(file); clientcontext.load(fileversioncollection); clientcontext.executequery(); 

this works fine , fileversioncollection object back.

is possible information changes can see in screenshot?

i want little reports, e.g.

  • how long ticket xyz in status "new"
  • who changed this?
  • ...

enter image description here

is office365 sharepoint instance, because see use csom.

i had similar task, migrate item versions. not find such functionality provided apis office365. cannot full item metadata particular version. had expose /_vti_bin/lists.asmx version items. more on here: http://sharepoint.bg/post/how-to-get-list-item-field-versions-data-in-office365-sharepoint-online.aspx

however remember getting version 2.0 of item give item metadata, not diff changes, not 100% sure. @ least have version information , can implement code compare versions , required differences.

it not fast in terms of performance, something.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -