天天看点

在SharePoint Online或SharePoint本地列表中缺少功能区

您可能会遇到在SharePoint Online或SharePoint内部部署列表中看不到功能区的情况。功能区可以轻松访问SharePoint列表中的常见任务。它还提供了有用的工具,例如连接到Outlook,导出到Excel和打开访问。

在SharePoint Online或SharePoint本地列表中缺少功能区

Scenario #1

在某些早期版本的SharePoint上,迁移到更高版本后,您可能会注意到功能区已经消失或不可用。

Solution #1

试试可以在页面上的任何CEWP上添加该JavaScript脚本

<code>&lt;scripttype=</code><code>"text/javascript"</code><code>src=</code><code>"https://code.jquery.com/jquery-1.11.3.min.js"</code><code>&gt;&lt;/script&gt;</code>

<code>&lt;scripttype=</code><code>"text/javascript"</code><code>&gt;</code>

<code>$(document).ready(</code><code>function</code><code>(){</code>

<code>var</code> <code>elem = document.getElementById(</code><code>"MSOZoneCell_WebPartWPQ2"</code><code>);</code>

<code>if</code><code>(elem != </code><code>null</code><code>) {</code>

<code>var</code> <code>dummyevent = </code><code>new</code> <code>Array();</code>

<code>dummyevent[</code><code>"target"</code><code>] = elem;</code>

<code>dummyevent[</code><code>"srcElement"</code><code>] = elem;</code>

<code>WpClick(dummyevent);</code>

<code>_ribbonStartInit(</code><code>"Ribbon.Browse"</code><code>, </code><code>true</code><code>)</code>

<code>}</code>

<code>});</code>

<code>&lt;/script&gt;</code>

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 网站浏览器支持。

参考:

<a href="http://sharepoint.stackexchange.com/questions/53431/cant-see-list-options-after-adding-content-editor">http://sharepoint.stackexchange.com/questions/53431/cant-see-list-options-after-adding-content-editor</a>

      本文转自惊艳了青春 51CTO博客,原文链接:http://blog.51cto.com/djclouds/2088729,如需转载请自行联系原作者

继续阅读