[英]Hiding the export to excel button from SharePoint 2013 Lists menu only
我创建了一个适用于 Mac 和 Windows 的导出到 excel 按钮。 现在我想从列表功能区(仅列表而不是库)隐藏现有的导出到 Excel 按钮。 我编写了自定义操作 xml,但它没有删除任何内容。 这是我的 xml
<CustomAction
Id="RemoveRibbonButton"
Location="CommandUI.Ribbon">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location="Ribbon.List.Actions.ExportToSpreadsheet-Large" />
</CommandUIDefinitions>
</CommandUIExtension>
我将此附加到添加按钮的现有 xml 中。 那个工作正常。 知道什么不起作用。
问题解决了在 xml <Location="Ribbon.List.Actions.ExportToSpreadsheet" /> 中替换它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.