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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (2,121)