在SharePoint Online或SharePoint本地列表中缺少功能区
您可能会遇到在SharePoint Online或SharePoint内部部署列表中看不到功能区的情况。功能区可以轻松访问SharePoint列表中的常见任务。它还提供了有用的工具,例如连接到Outlook,导出到Excel和打开访问。
Scenario #1
在某些早期版本的SharePoint上,迁移到更高版本后,您可能会注意到功能区已经消失或不可用。
Solution #1
试试可以在页面上的任何CEWP上添加该JavaScript脚本
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<scripttype= "text/javascript" src= "https://code.jquery.com/jquery-1.11.3.min.js" ></script>
<scripttype= "text/javascript" >
$(document).ready( function (){
var elem = document.getElementById( "MSOZoneCell_WebPartWPQ2" );
if (elem != null ) {
var dummyevent = new Array();
dummyevent[ "target" ] = elem;
dummyevent[ "srcElement" ] = elem;
WpClick(dummyevent); _ribbonStartInit( "Ribbon.Browse" , true )
} }); </script> |
Scenario #2
如果没有使用CEWP,并且您尚未从早期版本的SharePoint迁移
Solution #2
在SharePoint Online中,尝试切换到经典模式,是否可以恢复 。
请注意浏览器警告,这是常常容易出现问题,为获得最佳效果,请使用32位Internet Explorer。32位Internet Explorer是Microsoft唯一支持的Web浏览器,可以与所有版本的SharePoint一起正常工作。 Google Chrome,Mozilla Firefox,Apple Safari和Microsoft Edge浏览器并不完全支持,因为它们不支持ActiveX控件。所有64位版本的Internet Explorer也不完全受支持。有关更多信息,请查阅之前文章 SharePoint Server 2016 WEB 网站浏览器支持。
参考:
本文转自惊艳了青春 51CTO博客,原文链接:http://blog.51cto.com/djclouds/2088729,如需转载请自行联系原作者