如何禁用所有文档库中功能区上的某些按钮? [英] How can I disable certain buttons on ribbons in all document libraries?

查看:67
本文介绍了如何禁用所有文档库中功能区上的某些按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照标题的要求.

我希望能够禁用我所有文档库中命令功能区上的几个选择按钮(如果您需要一个特定的按钮作为示例,我将尝试禁用标记和注释"按钮以及一个来自第三方解决方案的按钮 已安装).

I want to be able to disable a select few buttons on the command ribbon in all of my document libraries (if you need a specific button as an example, I will be trying to disable the Tags and Notes button as well as a button from a 3rd party solution we have installed).

我可以使用每个单独库上的脚本Web部件来使此工作正常进行.该解决方案是站不住脚的,因为1)我将不得不为每个文档库都这样做,2)每次添加文档库时都必须重做它,并且3)它会阻止 默认情况下,文件和库"标签不会显示.

I can sort of make this work using a script web part on each individual library.  This solution is untenable because 1) I would have to do it for every document library, 2) I would have to redo it every time a document library is added, and 3) it prevents the Files and Library tabs from displaying by default.

这是站不住脚的.我想实现这些按钮的禁用功能,以使其在所有当前和将来的文档库中都可以使用.有办法吗?

This is not tenable.  I want to implement the disabling of these buttons such that it works in all current and future document libraries.  Is there a way to do that?

推荐答案

以下是选项

https://social.technet.microsoft.com/Forums/zh-CN/208c90bc-6846-4e9b-a263-ac5e4b8f8b61/disable-some-buttons-in-ribbon-of-a-document-library?forum = sharepointcustomizationprevious

https://social.technet.microsoft.com/Forums/en-US/208c90bc-6846-4e9b-a263-ac5e4b8f8b61/disable-some-buttons-in-ribbon-of-a-document-library?forum=sharepointcustomizationprevious

https://social.technet.microsoft.com/Forums/zh-CN/689417ab-f422-489f-beba-97c8f3809bd1/how-to-hide-ribbon-buttons-in-document-library?forum=sharepointgeneralprevious

https://social.technet.microsoft.com/Forums/en-US/689417ab-f422-489f-beba-97c8f3809bd1/how-to-hide-ribbon-buttons-in-document-library?forum=sharepointgeneralprevious


这篇关于如何禁用所有文档库中功能区上的某些按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆