通过REST API从V3Comments字段中检索评论历史记录 [英] Retrieve comments history from V3Comments field via REST API

查看:54
本文介绍了通过REST API从V3Comments字段中检索评论历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SharePoint 2013 Foundation.

I'm using SharePoint 2013 Foundation.

我正在尝试使用REST API在V3Comments字段中检索注释的全部历史记录.目前,即使该字段设置为添加新评论,我也只能检索添加的最后一条评论.

I'm trying to retrieve the entire history of comments in a V3Comments field using REST API. At the moment I can retrieve only the last comment added, even if the field is set to append new comment.

我尝试在OData查询的$ expand选项中添加注释字段名称,但由于不支持,因此无法正常工作.

I've tried using adding the comments field name in the $expand option of the OData query, but it doesn't work because it is not supported.

是否可以使用SharePoint REST API来实现这一目标?

Is there a way to achieve this using SharePoint REST API?

谢谢

推荐答案

据我所知,REST api对此要求不提供OOB支持.

您可以从versions.aspx(版本历史记录页面)或使用SPServices库检索版本历史记录.

您可以在下面的线程中查找类似要求.

https://stackoverflow.com/questions/24423657/sharepoint-2013-get-splistitem-versions-via-rest

最好的问候,

Lee


这篇关于通过REST API从V3Comments字段中检索评论历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆