0

我有一个自定义的 Sharepoint 页面,它通过来自 sharepoint 列表的 REST API 将新闻和事件拉入页面上的提要。如何使用这些列表来存储每个新闻/事件链接获得的点击量?

我想在每个列表中创建一个timesClicked字段,并在每次用户点击它时通过 POST 增加它,但这意味着我们必须让所有用户编辑访问我们不能做的新闻/事件列表。我还有什么其他方法可以实现基本的计数器?

4

1 回答 1

1

Create a 2nd list that contains the following columns: item number of the first list and a counter. Set the security on the second list to allow edit from authenticated users. Use a POST to increment the corresponding row in the second list.

于 2015-02-23T00:31:36.200 回答