开发者

How to programmatically disable ECB menu item for a particular list item?

开发者 https://www.devze.com 2022-12-17 12:06 出处:网络
I have a custom document library which is based on default document library. I\'d like to disable Edit physical document for some of the documents depending on 开发者_运维知识库their property.If you d

I have a custom document library which is based on default document library. I'd like to disable Edit physical document for some of the documents depending on 开发者_运维知识库their property.


If you don't mind a client side solution then you can use either a single Content Editor Web Part to inject some JavaScript on a single page or execute the script on every page in the site collection using our free SharePoint Infuser.

Plenty of examples, although not your particular problem, can be found here.

0

精彩评论

暂无评论...
验证码 换一张
取 消