本文介绍了Sharepoint Online刚推出新菜单和UserCustomActions,其中不再出现Microsoft.Sharepoint.StandardMenu作为位置。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的猜测是没有解决方案,此功能在没有警告的情况下消失,无法恢复,但问题出在此处。

My guess is there is no solution, this feature is gone without warning and will not be restored, but here is the problem.

我在经典中有一些代码为个人菜单添加自定义操作的应用。 像
一样的东西b

I have some code in a classic app that adds a custom action to the personal menu.  Something like

直到昨天这个工作,至少在经典页面上。

Until yesterday this worked, and least on classic pages.

随着本周新菜单的推出,菜单中不再显示自定义操作。 我们现在处于不稳定状态,行为从租户到租户以及站点到站点都有所不同,但UserCustomActions是否有Microsoft.Sharepoint.StandardMenu
作为现在已经死亡的位置,或者有解决方法吗?

With the rollout of the new menus this week, the custom action no longer appears in the menu.  We're in flux right now and the behavior varies from tenant to tenant and site to site, but are UserCustomActions that have Microsoft.Sharepoint.StandardMenu as a location now dead, or is there a way around this?

推荐答案

如果您使用经典页面,我们可以使用jQuery添加自定义操作个人菜单如下。

If you use classic pages, we can use jQuery to add custom action to personal menu like below.

将代码添加到脚本编辑器Web部件中。

Add the code into script editor web part.

<script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
var myVar;




这篇关于Sharepoint Online刚推出新菜单和UserCustomActions,其中不再出现Microsoft.Sharepoint.StandardMenu作为位置。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-31 15:58