如何在讨论列表中的名称旁边显示信誉得分? [英] How to show Reputaion score next to the Name in discussion list?
本文介绍了如何在讨论列表中的名称旁边显示信誉得分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个社区站点,作为讨论列表".我想在讨论列表页面中在其姓名旁边或下方的用户的信誉得分(根据社区信誉设置获得的成就分)?这是我吗 可以用JS做吗?请指教.谢谢
解决方案
>
您可以尝试通过REST获取用户信誉得分api.
/_ api/web/lists/getbytitle('社区%20Members')/项目?
select =成员/ID,成员/名称,ReputationScore&
filter =成员/ID等于12&
I have created a community site which as Discussion list. I want to the Reputation score (achievement points as per community reputation settings) of the users either next or underneath their name in the discussion list pages? Is this something I could do by JS? please advise. Thanks
解决方案
Hi,
You could try to get user Reputaion score by REST api.
/_api/web/lists/getbytitle('community%20Members')/items?
select=Member/Id,Member/Name,ReputationScore&
filter=Member/Id eq 12&
这篇关于如何在讨论列表中的名称旁边显示信誉得分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文