天天看點

在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,如需轉載請自行聯系原作者

繼續閱讀