Sharepoint网站中的“跟随"按钮 [英] Follow Button in Sharepoint Site
本文介绍了Sharepoint网站中的“跟随"按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我是创建一个SharePoint子站点并且需要帮助.我正在尝试创建一个关注"消息.我的共享点中的按钮以允许用户关注我的子站点.
I am creating a sharepoint subsite and need help . I am trying to create a "FOLLOW" button in my sharepoint to allow user to follow my subsite .
有什么方法可以做到这一点.我需要一个特定的按钮关注" .感谢您的帮助.
Is there any way for doing this . I need a specific button "FOLLOW" . appreciate your help .
推荐答案
SharePoint已经提供了关注功能.
无论如何,您可以使用JSOM,因此可以自定义为此功能.
这是我在本地SharePoint中测试过的示例脚本2013.
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script language="javascript" type="text/javascript">
(document).ready(function(){ //var scriptbase = _spPageContextInfo.webServerRelativeUrl +``/_layouts/15/"; //
(document).ready(function () { //var scriptbase = _spPageContextInfo.webServerRelativeUrl + "/_layouts/15/"; //
.getScript(scriptbase +"SP.Runtime.js",function(){ //
.getScript(scriptbase + "SP.Runtime.js", function () { //
这篇关于Sharepoint网站中的“跟随"按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文