cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ALBordelon
Advocate II
Advocate II

SharePoint Document Library Version History Comments Issue

I am trying the extract the Comments entered each time a file is Checked-In.  While I am able to all of the past version information using the following, the Comments are not included.  What is returned in the "OData__x005f_ModerationComments" for each version is the last comment that was entered and not the comment specifically entered for that version.

 

Step used to get to the Version History:

Version History 1.png

Document Version History as displayed in SharePoint

Version History 2.png

Output of the HTTP Request to extract the Version History.  Please note the Comments are incorrect.  The comment for the last version 3.12 is associated with each Version.  This is the "OData__x005f_ModerationComments" data field in the Output.

Version History 3.png

1 ACCEPTED SOLUTION

Accepted Solutions
annajhaveri
Super User
Super User

@ALBordelon  refer to this post https://sharepoint.stackexchange.com/questions/276668/get-comments-of-previous-versions-checked-in-i... it talks about the same issue that you are facing.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
annajhaveri
Super User
Super User

@ALBordelon  refer to this post https://sharepoint.stackexchange.com/questions/276668/get-comments-of-previous-versions-checked-in-i... it talks about the same issue that you are facing.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,093)